Share » Forums » Developer » How to fetch attributes of a node

How to fetch attributes of a node

How to fetch attributes of a node

Thursday 03 March 2005 9:26:01 pm - 2 replies

Author Message

Ɓukasz Serwatka

Thursday 03 March 2005 10:04:13 pm

Hi Karthik,

You can use attribute_view_gui

For example:

{attribute_view_gui attribute=$node.object.data_map.sys_admin}

To view all attributes of current node you can use
{$node|attribute(show)}

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

Eirik Alfstad Johansen

Thursday 03 March 2005 10:08:51 pm

Hi Karthik,

I too have experienced template code that has stopped working due to an upgrade to 3.5. So far, it has either been caused by an error in the template syntax (like a missing {/let}), or that I've used $node.object.data_map (when I changed to $node.datamap, it has worked).

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu