|
Tuesday 28 July 2009 4:39:36 pm
Comment37246
Hi, your override seems to be ok - I think you have placed the template on the right position. /design/override/templates/meeting_rfp.tpl Cleared the caches after creating this rule? Another note: [Meeting RFP] -> change to [MeetingRFP] no whitespaces between the words.
If it not helps you - another way: Check your override.ini.append.php again - maybe you have another override for the pagelayout in it! Your specific overrides should be placed much more on the top of the file - this little example describes it: override.ini.append.php
[MyPagelayout]
Source=pagelayout.tpl
MatchFile=mypagelayout.tpl
Subdir=templates
[MeetingRFP]
Source=pagelayout.tpl
MatchFile=meeting_rfp.tpl
Subdir=templates
Match[class_identifier]=meeting_rfp
In this case the mypagelayout.tpl will be shown, even if your current Object is meeting_rfp. After rotate the both rules:
[MeetingRFP]
Source=pagelayout.tpl
MatchFile=meeting_rfp.tpl
Subdir=templates
Match[class_identifier]=meeting_rfp
[MyPagelayout]
Source=pagelayout.tpl
MatchFile=mypagelayout.tpl
Subdir=templates
In this case meeting_rfp.tpl will only be displayed if your content object is type of meeting_rfp otherwise mypagelayout.tpl will be shown.
Mit freundlichen Grüßen
Best regards
Max Keil
____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh
|