Share » Forums » Developer » How to override the pagelayout.tpl ?

How to override the pagelayout.tpl ?

How to override the pagelayout.tpl ?

Friday 19 February 2010 6:59:41 am - 1 reply

Author Message

Davide Garzetti

Friday 19 February 2010 8:25:53 am

To overrdide pagelayour.tpl you need to modify override.ini in your siteaccess directory.

For example you can insert somthing like this:

[pagelayout_ecommerce]
Source=pagelayout.tpl
MatchFile=pagelayout_ecommerce.tpl
Subdir=templates
Match[section]=8

to override the pagelyout for a specific section. Or you can remove the last line to override for all section.

EzPublish will search a file named pagelayout_ecommerce.tpl .

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu