Monday 30 May 2005 1:22:54 am
Hi Albert, You will have to fetch node data in pagelayout.tpl like
{let node_data=fetch( content, node, hash( node_id, $module_restul.node_id ) )}
{* check if current node is folder datatype *}
{* display background color *}
{$node_data.object.data_map.color.data_text}
{/let}
You can also use section
{* if node id is 2 (folder) show color red *}
{section show=eq( $module_result.node_id, 2 )}
{* display background color *}
{/section}
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|