Locations

Author Message

Carlos Revillo

Wednesday 26 October 2005 11:33:20 am

Hi again. I'm working with a node. The node has several locations. What i want is a list of those locations. Is this possible?. I think so, cause i see it in admin interface. but wich property do i have to read?

Ɓukasz Serwatka

Wednesday 26 October 2005 1:48:43 pm

Loop throw $node.object.current.node_assignments array which stores information about node assignments:

{foreach $node.object.current.node_assignments as $node_assigment}
    {$node_assigment.node.name}
{/foreach}

Check in loop for more node info:{$node_assigment.node|attribute(show,1)}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Carlos Revillo

Thursday 27 October 2005 10:20:35 am

Thanks a lot!.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.