Forums / Developer / Root Node / Comment51764

Author Topic

Xavier Serna

Thursday 17 September 2009 1:37:19 am

Comment51764

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