How can I put priority to my pagelayout override?

Author Message

Lizeth Lorenzana

Thursday 11 December 2008 3:47:02 pm

Hello everyone! I have a node name princip, under (inside) that node I have several sections... one of those must have a different pagelayout so when I define a general pagelayout for all of the sections inside the parent node princip I have problems to put a different override for a node inside princip... I tought that if I put before the override that defines the pagelayout for the nodes inside princip the different pagelayout that I wanted for that single different node It could work but it does'nt it takes no pagelayout than the one define for the sections inside the node princip

Example:

[pagelayout_node_inside_princip]
Source=pagelayout.tpl
MatchFile=pagelayout_single.tpl
Subdir=templates
Match[node]=906

[pagelayout_for_princip]
Source=pagelayout.tpl
MatchFile=pagelayout_princip.tpl
Subdir=templates
Match[parent_node]=768

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.