Different Design

Author Message

Mihai007 Pop

Friday 05 January 2007 10:44:21 am

Hi...! I have tried for a while now to setup ez with more than one website which may or may not read from the same database. And it works nicely. But now I am trying to change the design for a specific site.

With the new 3.9 there is an extension enabled which seems to override my settings in the design layouts. Especially with the darn css files and the VAR settings. It's a bit confusing. Can someone help me out with a step by step example on how to do my different design?

The actual design for the current site layout rests in the extention folder. Then there are some css files sitting in the var/storage/ex_systems/etc... folder! I thought the folders in var are actually temporary folders. Why would someone place css files there???

Also please don't point me to the documentation. It is very simplistic explained and it just does not take me fully to my result page.

I also must say - I like the way the frontpages are done - by using either a frontpage class, or the object emeded relation. I always wanted portal-like interface. This is the easiest.

Anyway - if someone can help me with the var settings: I have placed it into the site.append.ini.php in the /settings/siteaccess/new_site/site.ini.append.php But it still creates the default "ezwebin_site" in the var instead my setting from the above ini file. So does the admin interface - Why ?

Then it is the design thing which seems to (like I said before) mingle together with the extention (which by the way - I disabled)

Thanks in advance...!

Mihai

Betsy Gamrat

Sunday 07 January 2007 5:53:32 pm

Hi,

If you like the design, take a few minutes and read the documentation (I know, you already said you're unhappy with it).

The CSS files are stored in var because you can create sitestyle packages that allow you to override the site design, using site-colors.css, classes-colors.css, and any images you'd like. The other wonderful advantage of the ezwebin is the site editing, so users can edit without using the admin console.

You can change the templates in the extension directory (try <b>overrides/templates</b> first, then use <b>templates</b> if necessary).

If ezwebin is really frustrating you, you could install eZ 3.8+, then do an upgrade. This will prevent the setup wizard from installing ezwebin and you can take advantage of the new features.

Good luck.

Kristof Coomans

Sunday 07 January 2007 11:39:54 pm

... or you can tell the setup wizard of eZ 3.9 to use the old (3.8) site packages: http://ezpedia.org/wiki/ez/ez_publish_3_9#eztoc1734_3

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Sean Deveni

Tuesday 06 February 2007 7:15:21 am

I'm perplexed by a similar (though perhaps different) situation.

For siteaccess X, I have specified the design to be

[DesignSettings]
SiteDesign=myfancystuff
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base

Yet, the templates are not being used. When I debug to show "templates used" then I see many of these templates are being drawn from the extension.

Such as
extension/ezwebin/design/ezwebin/templates/pagelayout.tpl

Which I full expected to be
design/myfancystuff/templates/pagelayout.tpl

All I'm trying to do is modify the "homepage" after a default installation! It's very frustrating when I think I've set the design only to find it's using files in an extension instead. And I don't find any documentation about why this happens, so if it exists I would ask you to be precise in telling me where to look.

Artturi Markko

Sunday 24 June 2007 1:16:22 pm

Hello,

Same situation for me, this new behaviour seems a bit strange at first sight.
Have you succeeded in having your own templates used in priority of the new web interface ?

Regards,
Artturi

Artturi Markko

Sunday 24 June 2007 1:36:28 pm

Hello,

I've found an ugly solution consiting of copying the design of the ezwebin extension folder to the traditional design folder :

cd /var/www/ez/extension/ezwebin/design
cp -a ezwebin /var/www/ez/design/ezwebincopy

Finlayy, I have this in site.ini.append.php :
[DesignSettings]
SiteDesign=mydesign
AdditionalSiteDesignList[]=ezwebincopy
AdditionalSiteDesignList[]=base

This way, when creating a copy of pagelayout.tpl in "mydesign/templates", my adaptations are taken into account.

Anyone knows a better way ?

Regards,
Artturi

André R.

Sunday 24 June 2007 2:30:20 pm

move mydesign into a extension of it's own, but if that works for you. Can you please write a bug repport on you original issue, if true this is a bug.

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.