|
Thursday 30 July 2009 11:13:16 am
Comment37251
Hi, are you trying to override the pagelayout.tpl for every class? Is it required?
Here are some information about the pagelayout: http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_pagelayout override.ini.append.php
[MeetingRFP]
Source=pagelayout.tpl
MatchFile=meeting_rfp_pagelayout.tpl
Subdir=templates
Match[class_identifier]=meeting_rfp
This rule overrides the pagelayout if a node of class meeting.rfp were displayed. $module_result is a variable inside the pagelayout. with:
{$module_result.content}
inside the pagelayout you can display the content of your node!!!
to override the template that is displayed for $module_result.content you should use this: override.ini.append.php
[MeetingRFP_class]
Source=node/view/full.tpl
MatchFile=full/meeting_rfp.tpl
Subdir=templates
Match[class_identifier]=meeting_rfp
Now your pagelayout is placed in: /design/plain_site/override/templates/meeting_rfp_pagelayout.tpl
With the last override rule you matches the content inside of $module_result.content. And this is the template: /design/plain_site/override/templates/full/meeting_rfp.tpl Inside of this content template you can use $node variable!
Mit freundlichen Grüßen
Best regards
Max Keil
____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh
|