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 [Defaults_media]

The settings of [Defaults_media] in subitems.ini: Subtree, ParentClassIdentifiers, Columns

Download as PDF

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

On this page

subitems.ini [Defaults_media]

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

Defaults per place: the columns shown by default under some parents (before the user saves a
choice of their own). The first block that matches wins, in the order of this file:
[Defaults_<id>]
Subtree[] node ids: matches when the parent is one of them or lies below one
ParentClassIdentifiers[] class identifiers: matches when the parent is of one of them
Columns[] the visible columns, in order
The media library (content.ini [NodeSettings] MediaRootNode=43); the list's former media defaults

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).

Subtree

Default: a list of 1: 43.

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

ParentClassIdentifiers

Default: an empty list.

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

Columns

Default: a list of 4: thumbnail, name, visibility, type.

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

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