Strange behavior with a pagelayout override.

Author Message

Steven E. Bailey

Monday 28 August 2006 8:45:05 am

I have a pagelayout override that matches on a section id, which works as intended, in that I go to the pagelayout_alt when I navigate to that section.

However, I've noticed something weird happening:

if I navigate from a page that uses pagelayout_alt to a page that has no section id - like user/* or extension/* - it ends up using the pagelayout_alt template.

But, if I navigate from a page that has a section id not matching on the override, and I go to a page with no section id (user/login again) it uses the pagelayout template.

It's almost as if it maintains the section_id if it isn't overwritten?

Or, am I missing something?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Kristian Hole

Monday 28 August 2006 9:47:56 am

This sounds like a bug. Can you post a bugreport about it?

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Steven E. Bailey

Tuesday 29 August 2006 2:05:30 am

Done. Bug ID #8916

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Kristian Hole

Tuesday 29 August 2006 7:57:03 am

Thanks!

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

André R.

Tuesday 29 August 2006 10:27:41 am

I think ez remembers what section you are on, so that if you enter a broken url or use other modules then content, the right design will show up.
So content with no section id will probably get the same effect.

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

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