Forums / Setup & design / Issue while overriding my home page

Issue while overriding my home page

Author Message

Denis Marcaux

Tuesday 07 April 2009 4:00:12 am

Hi,

I would like to use an override of pagelayout.tpl but only for my homepage.

So I add the following lines to the override.ini files on my siteaccess :

[frontpage]
Source=pagelayout.tpl
MatchFile=my_homepage.tpl
Subdir=templates
Match[node]=2

But even when I clear the cache, the template "/design/my_site/templates/pagelayout.tpl" is still in use.

FYI, in my "site.ini" I've defined my IndexPage like this :

IndexPage=/content/view/full/2/

Could you help me?

Thanks in advance.

PS : sorry for my english

Yannick Komotir

Tuesday 07 April 2009 7:45:21 am

hi,

an other override haven't the same name [frontpage] ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk