Friday 08 August 2003 6:54:19 am
I'm not sure how to do that in the template, but if you explain why you want to assign a different section to the pages we might be able to provide an alternate way of achieving your goal. If your intent is to use a different tempalte for those articles than the standard template for that section you might be able to use a couple of matches within your override.ini file. For example, to match all articles (Id = 22 for example) within the section (1) you could use:
[my_override]
Source=node/view/full.tpl
MatchFile=my_override.tpl
Subdir=templates
Match[class]=22 Match[section]=1 Or, if you want to assign an override to all articles within a specific folder or node (103 for example) you could use:
[my_override]
Source=node/view/full.tpl
MatchFile=my_override.tpl
Subdir=templates
Match[class]=22 Match[parent_node]=103 There are many different ways of matching a file or set of files through the override.ini. More info is available at http://www.ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates Hope this helps, if not perhaps we can find a different way to solve the issue. :) Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|