Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

subitems.ini [SubitemsSettings]

The settings of [SubitemsSettings] in subitems.ini: DefaultColumns, AttributeColumns, AttributeColumnsExcludedDataTypes, AttributeColumnsDataTypePolicy, CSVExport, CSVLimit, PageSizes

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/subitems/SubitemsSettings.md

On this page

subitems.ini [SubitemsSettings]

The block [SubitemsSettings] of settings/subitems.ini, with 7 setting(s).

Never edit settings/subitems.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/subitems.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/subitems.ini.append.php for one siteaccess,
  • extension/<extension>/settings/subitems.ini.append.php in an extension (read when the extension is active).

DefaultColumns

The columns shown by default, in this order, wherever no [Defaults_*] block below matches and
the user has not saved a choice of their own. These are the list's former defaults for the
content tree (admininterface.ini [SubItems] VisibleColumns[ezcontentnavigationpart]).

Default: a list of 4: name, published, translations, priority.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
# an empty "DefaultColumns[]" first replaces the shipped list; without it the items are added
DefaultColumns[]
DefaultColumns[]=name
DefaultColumns[]=published
DefaultColumns[]=translations
DefaultColumns[]=priority
*/ ?>

AttributeColumns

enabled: Table options also offers one column per attribute of the classes present among the
parent's children (key attr:<class>/<attribute>, group "Attributes: <class name>"), no INI
needed. The value is the attribute's title, else its text; sortable when the datatype sorts.
disabled: only the columns of subitemscolumns.ini.

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
AttributeColumns=enabled
*/ ?>

AttributeColumnsExcludedDataTypes

Datatypes never offered as attribute columns. ezuser's text holds the login, e-mail and
password hash, so it is excluded; the user columns of subitemscolumns.ini show what is safe.

Default: a list of 1: ezuser.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
# an empty "AttributeColumnsExcludedDataTypes[]" first replaces the shipped list; without it the items are added
AttributeColumnsExcludedDataTypes[]
AttributeColumnsExcludedDataTypes[]=ezuser
*/ ?>

AttributeColumnsDataTypePolicy

Policies an attribute column of a datatype needs, as module/function, several separated by ;
(all must be granted). Without an entry an attribute column needs nothing beyond content/read
on the rows.
Example: only users who may edit users see e-mail attributes
AttributeColumnsDataTypePolicy[ezemail]=user/register

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
# an empty "AttributeColumnsDataTypePolicy[]" first replaces the shipped list; without it the items are added
AttributeColumnsDataTypePolicy[]
*/ ?>

CSVExport

enabled: Table options has "Export CSV", the view content/subitemsexport/<node id> exists.

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
CSVExport=enabled
*/ ?>

CSVLimit

The most rows one CSV export writes.

Default: 5000.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
CSVLimit=5000
*/ ?>

PageSizes

The page sizes Table options offers (a custom size can still be typed in).

Default: a list of 4: 10, 25, 50, 100.

<?php /* #?ini charset="utf-8"?
# settings/override/subitems.ini.append.php
[SubitemsSettings]
# an empty "PageSizes[]" first replaces the shipped list; without it the items are added
PageSizes[]
PageSizes[]=10
PageSizes[]=25
PageSizes[]=50
PageSizes[]=100
*/ ?>

Generated by ./console exp:help:examples from settings/subitems.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x