Use of overrides in fallback design

Use of overrides in fallback design

Wednesday 12 November 2003 11:52:02 am - 3 replies

Author Message

Paul Forsyth

Thursday 13 November 2003 1:21:24 am

Changing the StandardDesign is dangerous because it holds all of the defaults for templates. Unless you've overridden every 'standard' template then you may experience gaps.

Are you finding errors being reported?

paul

Eirik Alfstad Johansen

Thursday 13 November 2003 4:54:38 am

Hi Paul,

It might be better if I try to explain what I'm trying to do, and have you suggest a solution, if you would.

For the company site, I have created several template overrides. One of these is an override for the forum class in line view mode. Now, I would like the product site to use the same override for the forum class in line view mode because it makes use of the same forum, but I would like to avoid having to specify it as an override for the product site as well.

Also, for all templates that do not exist in neither the product nor the company site, I would like a fallback on the standard site design.

Is this doable?

Thanks in advance !

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eckhard Schnell

Thursday 13 November 2003 6:00:19 am

Hello Eirik,

may be you can use the AditionalSiteDesignList[] in site.ini.

In the forum is an example with images.
http://ez.no/developer/ez_publish_3/forum/developer/multilingual_site_images

Try the following settings:
---------
[DesignSettings]
SiteDesign=product_design
...
AditionalSiteDesignList[]=company_design
....
StandardDesign=standard
-------

Eckhard Schnell
Siemens Business Services

Eckhard Schnell
Siemens Business Services http://www.sbs.de
Privat: http://www.2schnell.de

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.