ez using an other pagelayout

Author Message

Tchu Light

Tuesday 10 February 2009 1:44:18 am

Hello,
First, I am new to eZ publish and English, so be indulgent plz.
I'have installed recently ez-publish and ezwebin, and I want to Know why ez use ezwebin's pagelayout instead of useing the standard one (www\ez\design\standard\templates\pagelayout.tpl) ?!! I checked every config file hoping to find some lines that tells ez to override pagelayout (override.ini.append.php) but I didn't find anything, I read "the tech manual" but they don't mention it anywhere. So can somebody explain to me how that' work ? plz.
best regards.

Stéphane Bullier

Tuesday 10 February 2009 2:37:53 am

Hello,

Welcome.

You have to check in site.ini.append.php of siteaccess frontend, this setting :

[DesignSettings]
SiteDesign=folder_design_name

and change the name with your folder design.

Stéphane

André R.

Tuesday 10 February 2009 3:51:54 am

Its because you can define several active designs for a siteaccess, witch lets you have multiple fallbacks.
Normally you'd have something like
1.'your_design' (override for your custom site)
2. flow (if you use ezflow)
3. webin
3. standard

And for admin you'd have:
1. admin
2. standard

This is configurable using the setting mentioned above by Stéphane, as well as the AdditionalDesign setting and StandardDesign setting in site.ini.

So in the example you mention you have 'placement overrid' in effect, and there is no need to use any overide.ini condition to make it work. override.ini overrides are for conditional overrides(like for a specific node or class), placement overrides are for global 'override'.

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

Tchu Light

Tuesday 10 February 2009 8:06:22 am

Thank you very much fo your answers,
in my configuration I have

[DesignSettings]
SiteDesign=ezwebin

so I think that ez normaly must go search in www\my-site\design to find a folder named "ezwebin" but in this path (www\my-site\design) I don't have this folder, so
he look for the folder in www\my-site\extension\ezwebin\design\ezwebin.

1/ he look in www\my-site\design and when ez don't find "ezwebin".
2/ he look for ezwebin in www\my-site\extension

Thanks.

André R.

Tuesday 10 February 2009 8:55:59 am

1 design (like 'standard' or 'ezwebin') can have several placements, the order of this kind of fallback is:
1. design in extensions in the order the extensions are loaded
2 design/ folder

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.