Forums / General / Multiple Section Assignment / Comment28372
Bård Farstad
Monday 16 June 2003 6:41:06 am
I've just commited support for subtree overrides in revision 2737 (trunk).
You can now check if the node is under the defined subtree. Example of configuration:
[searchfolder] Source=node/view/full.tpl MatchFile=product_under_frontpage.tpl Subdir=templatesMatch[url_alias]=frontpage
[searchfolder] Source=node/view/full.tpl MatchFile=product_under_frontpage_news.tpl Subdir=templatesMatch[url_alias]=frontpage/news
The system uses the url alias function of Exponential to determine if you are under the desired subtree.
I hope this solves the problems you've experienced with sections.
--bård
Documentation: http://ez.no/doc