Install - 2 URL - 1 DB - Same design - Which way the best ?

Author Message

laurent le cadet

Thursday 12 October 2006 12:47:54 am

Hi,

I have a client which has 2 Trade Marks and wanted a site for each of them.
The content will be more or less the same for each sites so we need only on DB.
The design will be exactly the same except logos.

Which way the best ?
An installation based on site access or contents based on section ?

It's not really clear for me...

It seems that the first option needs to have one design folder for each site but as the design will be the same it doesn't make sens.

The second one seems to be better with 2 "root" folders in admin (site1 - site2) and locations added for contents we wanted to see in each folder.

Did someone faced the same questions ?

Regards.

Laurent

Claudia Kosny

Thursday 12 October 2006 5:11:03 am

Hello Laurent

I just can tell you that you do not need two design folders if you use two siteaccesses.I usually have one site access for each language but all of them use the same design folder.

If you want to have two different root folders you have to have two siteaccesses anyway, otherwise your user will see the same startpage for each trademark.
Still I think sections might be useful to tell which content belongs to which trademark. Of course you could always add a selectbox to each class for trademark1, trademark2 or both.

Greetings from Luxembourg

Claudia

laurent le cadet

Thursday 12 October 2006 5:23:19 am

Hi Claudia,

Thanks for your response.
It appera that siteaccesses will be necessary for 2 URLs

Laurent

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 01:28:30
Script start
Timing: Jan 31 2025 01:28:30
Module start 'layout'
Timing: Jan 31 2025 01:28:30
Module start 'content'
Timing: Jan 31 2025 01:28:30
Module end 'content'
Timing: Jan 31 2025 01:28:30
Script end

Main resources:

Total runtime0.0252 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.2813151.2266
Module start 'layout' 0.00560.0045 739.5078220.7188
Module start 'content' 0.01010.0135 960.2266997.8672
Module end 'content' 0.02360.0016 1,958.093833.9922
Script end 0.0252  1,992.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003011.9531140.0002
Check MTime0.00124.6772140.0001
Mysql Total
Database connection0.00093.537710.0009
Mysqli_queries0.002811.121830.0009
Looping result0.00000.107810.0000
Template Total0.00114.410.0011
Template load0.00093.383510.0009
Template processing0.00020.972110.0002
Override
Cache load0.00062.320610.0006
General
dbfile0.00155.998380.0002
String conversion0.00000.039740.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