Forums / Setup & design / additional designs

additional designs

Author Message

Bernhard Hyden

Thursday 21 August 2003 11:05:22 pm

Hi,
I´ve setup ezPublish for more than one project.
I have setup a new folder in design named mydesign1 an mydesign2 to use this two projects.
In the main site.ini.append.php I´ve added:
[DesignSettings]
StandardDesign=standard

[SetupSettings]
SiteAccessList[]=user
SiteAccessList[]=admin
SiteAccessList[]=demo
SiteAccessList[]=mydesign1
SiteAccessList[]=mydesign2

In settings/siteaccess i created two new folders named mydesign1 and mydesign2 with there own site.ini wich contains:

[SiteSettings]
IndexPage=/content/view/full/297/

[SiteAccessSettings]
RequireUserLogin=false

[DesignSettings]
SiteDesign=mydesign1 # or mydesign2

[ExtensionSettings]
ActiveExtensions[]=ezdhtml

[MediaClassSettings]
ImageClassID[]=5

[DesignSettings]
Debug=enabled

I hoped that all two design will be displayed, but only the first design is shown. Maybe you could help me how two use more projects (There will be more than 100 projects).
I hope that there is onhly a small problem ;-)
Thanks,
Bernhard

Bjørn Kaarstein

Monday 25 August 2003 2:50:48 am

Try adding:

[SiteAccessSettings]
CheckValidity=false
MatchOrder=host
HostMatchMapItems[]=www.yourdomain.com;mydesign1
HostMatchMapItems[]=www.yourdomain2.com;mydesign2

Also you will need to create a siteaccess for every design of yours, where you just specify which design to be used.

Regards Bjørn.