[eZ publish] How to use multiple pagelayouts

Modify the file of override.ini.append.php

 

[pagelayout_corporate]
Source=pagelayout.tpl
MatchFile=pagelayout_corporate.tpl
Subdir=templates
Match[section]=4

which means that the corporate pagelayout template is invoked forcontent belonging to that section (4). What this also means is that the[folder], [article], [image] etc templates can be applied to whicheversection template is the current one

posted @ 2010-04-21 10:37  DavidHHuan  阅读(263)  评论(0编辑  收藏  举报