subitemscolumns.ini
The shipped settings of settings/subitemscolumns.ini: 129 blocks, 990 settings.
The columns of the admin subitems list ("Table options" on content/view/full/<node id>).
One [Column_<key>] block per column; the key is what presets, defaults and saved choices use.
Which columns are visible by default, the presets and the CSV export are set in subitems.ini.
Guide: doc/eng-us/bc/6.0/subitems-table-options.mdA block names exactly one of:
Builtin=true one of the 15 columns the list renders itself from the node (the keys
thumbnail, name, visibility, type, modifier, modified, published,
translations, section, nodeid, noderemoteid, objectid, objectremoteid,
objectstate, priority); the server never computes them. Only Name, Group,
Order, Description, Copy, Align and Policy[] may be changed here.
Class=<class> a subclass of expSubitemsColumn, constructed with ( key, settings ).
The shipped families (expSubitemsNodeColumn, expSubitemsObjectColumn ...)
pick their column with Field=<name>.
Handler=<class>::<method> a static method ( eZContentObjectTreeNode $node, array $settings,
expSubitemsColumn $column ) that returns the value.
Template=design:subitems/columns/<name>.tpl a template that gets $node, $column (this block
as a hash) and $key; its output is the cell, its text the value.
Settings of every block:
Name= the column's name (translated in context design/admin/node/view/full)
Group= Basic, Node, Object, Version, Location, URLs, SEO, Dates, People,
Relations, Translations, Workflow, Users, Media, Technical, Custom
(translated like Name=)
Type= text, html, number, date, datetime, bool, link, code, list, image
(how the default cell and CSV text are made; html = trusted markup)
SortField= a subTree() sort field the list can sort the column by: path, path_string,
published, modified, section, depth, class_identifier, class_name,
priority, name, modified_subnode, node_id, contentobject_id, visibility,
or attribute:<class>/<attribute>. Empty: not sortable.
Policy[] module/function entries the user must all have to see the column at all
(it is then neither offered, computed nor sent).
Description= the help text in Table options; says what the column costs when it costs
(translated like Name=).
Copy=true a click on the cell copies its value.
Align=right right aligned (numbers).
Order= the position in Table options, and among the defaults.
Every value is computed only for the visible columns, only for the rows of the current page.Basic: the 15 built-in columns (their defaults live in expSubitemsBuiltinColumn; repeated here
so they can be read and adjusted in one place)
Generated by ./console exp:help:examples from settings/subitemscolumns.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.