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

Improved related object handling

Add support for grouping the related objects in content/edit based on their type (content class). For instance it is a good idea to show images separately from files.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/3.5/related_object.txt

*Title: Improved related object handling

Incentive:
Add support for grouping the related objects in content/edit based on their type (content class).
For instance it is a good idea to show images separately from files.

*Documentation:

New template variables:
in edit.tpl the variable $grouped_related_contentobjects is available,
it is an associative array with each group being the key and the element being
the relation list.

New INI settings:
content.ini:
 - RelationGroupSettings/Groups:
   An array with groups that should be defined, a group is defined by an identifier as a string, e.g image
 - RelationGroupSettings/DefaultGroup:
   Defines the group which all unmatched relation items are placed.

For each group defined in Groups there must be a variable called <group>ClassList where <group> is the
group identifier. The variable must be an array which should contain a list of content class identifiers
that belong to this group.


*Testing:

*SVN Revisions:
7381

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors