Pagelayout override shows up for non content pages

Pagelayout override shows up for non content pages

Sunday 30 August 2009 2:18:17 pm - 3 replies

Author Message

Nathalie G

Tuesday 01 September 2009 12:39:12 pm

I found a solution which is not to use the section match but the url_alias.

[mise_en_page_principale]
Source=pagelayout.tpl
MatchFile=mypagelayout.tpl
Subdir=templates
Match[url_alias]=Boutique

Works fine

http://maisoncontemporaine.net

André R.

Wednesday 02 September 2009 1:08:26 am

For some reason, eZ Publish saves the last section id in session and uses it on pages that are non content pages.
Its a strange artifact that I hope we can remove some day:)
( And it doesn't make a lot of sense, as if you have several tabs open to the same site, you'll get strange results if you don't know about how it works.)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Gaetano Giunta

Wednesday 02 September 2009 2:28:01 am

Btw, there is already a bug filed for this: http://issues.ez.no/008916

Principal Consultant International Business
Member of the Community Project Board

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.