Forums / Developer / Root Node / Comment51764
Xavier Serna
Thursday 17 September 2009 1:37:19 am
This will always return the actual root node for the site:
{def $root_node=fetch( 'content', 'node', hash( 'node_path', '/') )}
hth!
-- Xavier Serna eZ Publish Certified Developer Departament de Software Microblau S.L. - http://www.microblau.net +34 937 466 205