[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

原文地址:https://www.cnblogs.com/davidhhuan/p/1716924.html