Different site styles

Author Message

John Smith

Thursday 03 July 2008 7:55:11 am

Hi there,

Hope someone can help me.

Is it possible to create two sitestyles with different set of templates and then switch between them from the adminstration site to change the look and feel of the website.

Design -> Look and Feel.

Cheers.

André R.

Thursday 03 July 2008 7:57:40 am

Sitestyle are just css and images.
You need seperate designs to also include templates, and that can be changed by changing site.ini design settings for the specific siteaccess, but not from look and feel.

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

John Smith

Thursday 03 July 2008 8:19:47 am

Thanks Andre for your swift reply.

So what is best way to create two different design (set of css/images/templates) on one website. I checked the previous versions for e.g. 3. 6.x, there are few styles in the packages folder. They all show in the Look and feel section of the adminstration interface from where you can switch in between. May be I am confused..

My main aim is to show my client different design possibilites within one website.

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:15:49
Script start
Timing: Jan 31 2025 04:15:49
Module start 'layout'
Timing: Jan 31 2025 04:15:49
Module start 'content'
Timing: Jan 31 2025 04:15:50
Module end 'content'
Timing: Jan 31 2025 04:15:50
Script end

Main resources:

Total runtime1.1755 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.2578151.2109
Module start 'layout' 0.00460.0029 740.468836.6484
Module start 'content' 0.00751.1672 777.1172927.5469
Module end 'content' 1.17470.0008 1,704.664111.8594
Script end 1.1755  1,716.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2487160.0002
Check MTime0.00130.1065160.0001
Mysql Total
Database connection0.00070.057310.0007
Mysqli_queries1.127095.8712570.0198
Looping result0.00050.0407550.0000
Template Total1.142897.220.5714
Template load0.00190.165620.0010
Template processing1.140997.051020.5704
Template load and register function0.00120.099010.0012
states
state_id_array0.00190.159210.0019
state_identifier_array0.00190.163020.0010
Override
Cache load0.00160.1381160.0001
Sytem overhead
Fetch class attribute can translate value0.00110.095120.0006
Fetch class attribute name0.00160.137440.0004
XML
Image XML parsing0.00060.052620.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00250.2111170.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs