Core API

4.2.11. ['columns'][fieldname]['config'] / TYPE: "none"

This type will just show the value of the field in the backend. The field is not editable.

Key

Datatype

Description

type

string

[Must be set to "" (blank string!)]

pass_content

boolean

If set, then content from the field is directly outputted in the <div> section. Otherwise the content will be passed through htmlspecialchars() and possibly nl2br() if there is configuration for rows.

Be careful to set this flag since it allows HTML from the field to be outputted on the page, thereby creating the possibility of XSS security holes.

rows

integer

If this value is greater than 1 the display of the non-editable content will be shown in a <div> area trying to simulate the rows/columns known from a "text" type element.

cols

integer

See "rows" and "size"

fixedRows

boolean

If this is set the <div> element will not automatically try to fit the content length but rather respect the size selected by the value of the "rows" key.

size

integer

If rows is less than one, the "cols" value is used to set the width of the field and if "cols" is not found, then "size" is used to set the width.

The measurements corresponds to those of "input" and "text" type fields.

 

To top


Valid XHTML 1.0!