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.

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

eZ debug

Timing: Jan 31 2025 04:30:57
Script start
Timing: Jan 31 2025 04:30:57
Module start 'layout'
Timing: Jan 31 2025 04:30:57
Module start 'content'
Timing: Jan 31 2025 04:30:58
Module end 'content'
Timing: Jan 31 2025 04:30:58
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1094151.1953
Module start 'layout' 0.00630.0027 739.304736.6172
Module start 'content' 0.00890.0058 775.921990.0156
Module end 'content' 0.01480.0013 865.937529.9922
Script end 0.0161  895.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.3435140.0002
Check MTime0.00116.5851140.0001
Mysql Total
Database connection0.00127.390910.0012
Mysqli_queries0.002917.987330.0010
Looping result0.00000.112210.0000
Template Total0.00106.310.0010
Template load0.00085.013410.0008
Template processing0.00021.275110.0002
Override
Cache load0.00063.478510.0006
General
dbfile0.00138.004880.0002
String conversion0.00000.062040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs