Three individual site with common elements

Author Message

Ville Mattila

Wednesday 20 December 2006 4:34:16 am

Hi there,

I'd need to work out a site cluster featuring three independent site with different content, different design and different structure. Anyway, I would prefer to have only one eZ publish to accommodate all of them to make the administrational tasks and content mangement simple.

Each site has also many common components, for example news section and common stylesheet files (partly). In general, the basic design and page layout is different in each site.

I was wondering first to make three different siteaccesses (as they will be published under different subdomains) but figured out that I should configure all of them separately. Did I understand correct that each siteaccess can have own content structure at admin side?

Is there any possibility to guide eZ publish to have some common stylesheets and images, like {"common_logo.gif"|ezcommonimage) that would be independent of the current siteaccess? If I use standard {"common_logo.gif"|ezimage} I should copy all logo images to each siteaccess design directory.

Well... that's all for now. I would be happy to hear some tips and tricks how to take all performance out from eZ publish in this case.

Thank you,
Ville

Nabil Alimi

Wednesday 20 December 2006 6:31:36 am

Hi Ville,

I suggest to use a fourth siteaccess that will be your fallback. Your 3 other siteaccesses will use their own SiteDesign and will have the fourth SiteDesign as fallback. That way, anything that will be common to both sites will be stored in the fallback SiteDesign while specific elements will be in the specific SiteDesign.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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 18 2025 22:37:31
Script start
Timing: Jan 18 2025 22:37:31
Module start 'layout'
Timing: Jan 18 2025 22:37:31
Module start 'content'
Timing: Jan 18 2025 22:37:32
Module end 'content'
Timing: Jan 18 2025 22:37:32
Script end

Main resources:

Total runtime0.7875 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0469152.6406
Module start 'layout' 0.00560.0025 740.687539.4766
Module start 'content' 0.00810.7779 780.1641523.0625
Module end 'content' 0.78600.0014 1,303.22668.2813
Script end 0.7874  1,311.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4033160.0002
Check MTime0.00140.1755160.0001
Mysql Total
Database connection0.00100.123910.0010
Mysqli_queries0.743594.4160540.0138
Looping result0.00050.0619520.0000
Template Total0.753295.620.3766
Template load0.00240.301320.0012
Template processing0.750895.340920.3754
Template load and register function0.00010.017310.0001
states
state_id_array0.00130.159010.0013
state_identifier_array0.00120.153020.0006
Override
Cache load0.00190.2408150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.065520.0003
Fetch class attribute name0.00100.125830.0003
XML
Image XML parsing0.00080.099720.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00090.1111160.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
2content/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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs