filterrelated
filterrelated is an eZPublish template operator that allows you to filter related and reverse related objects by name. It is semi obsolote with the release of newer template functions living in the core.
Example
{filter_related(fromContentObjectID, class, [true|false])}
Returns an array containing all the ids (false) or objects (true) of class
class (either ID or class_identifier) a given content object ID relates to.
{filter_reverse_related(fromContentObjectID, class, [true|false])}
Returns an array containing all the ids (false) or objects (true) of class a given content object ID reverse relates to.
Installation
- Extract to extensions/
- Activate extension.