Thursday 19 May 2011 12:28:07 pm
{fetch( 'content', 'reverse_related_objects_count',
hash( 'object_id', $node.contentobject_id,
'all_relations', true()
))} The above works for all types of reverse relations ( not just object level, but also attribute-level ). If 'all_relations' is omitted from the fetch statement, it would default to false and the fetch would then not show attribute-level relations. Your relations, in this case, are at attribute level. {$node.object.reverse_related_contentobject_count} works for object-level relations but apparently not for attribute-level. And it is deprecated anyway.
The Web Application Service Provider
|