Forums / General / A template for a node and its descent

A template for a node and its descent

Author Message

François Xavier Lacroix

Friday 17 June 2005 5:33:40 am

Hello,
I m quite new on ezpublish, and i wonder...
I know that i can override a template basing on its node_id, class identifier... but i was wondering if we can assign a template for a node and all of his children.

sincerely,
fx

Paul Borgermans

Friday 17 June 2005 7:33:39 am

Hi François Xavier,

You need to assign a section to teh subtree and then use the section for that.

For 1 level down, you can use the parent_node_id selector

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

François Xavier Lacroix

Friday 17 June 2005 7:47:45 am

Ok, i get it ;)
thx