Multiple sites from one database?

Author Message

Edward Eliot

Monday 07 June 2004 4:51:12 am

Hello,

I have managed to set eZPublish up to display two different sites from the same database with a different start page for each site.

I haven't been able to set the starting point of the menu for each site. How do I do this?

For example with the content tree below:

Root (Normal eZPublish Root)
-> Site 1 (Site 1 content) Node ID 85
-> Site 2 (Site 2 content) Node ID 86

So site 1 would have the its menu starting at node 85 and site 2 at 86.

Also, is it possible to set a different anonymous user for each site which would therefore allow me to determine with permissions whether or not a particular content page was viewed on the site.

I will eventually have 4 live sites which share some common pages and their users, so I do want one database, not multiple.

Any help greatly appreciated.

Regards,

Ed.

Edward Eliot

Monday 07 June 2004 4:59:17 am

I have changed the parent_node property in toolbar.ini.append.php but this make no difference.

I also cleared the caches.

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 19 2025 06:15:03
Script start
Timing: Jan 19 2025 06:15:03
Module start 'layout'
Timing: Jan 19 2025 06:15:03
Module start 'content'
Timing: Jan 19 2025 06:15:03
Module end 'content'
Timing: Jan 19 2025 06:15:03
Script end

Main resources:

Total runtime0.7852 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.2813152.6406
Module start 'layout' 0.00590.0031 741.921939.4766
Module start 'content' 0.00910.7739 781.3984423.9141
Module end 'content' 0.78300.0022 1,205.31258.1406
Script end 0.7851  1,213.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4331160.0002
Check MTime0.00140.1776160.0001
Mysql Total
Database connection0.00090.108910.0009
Mysqli_queries0.738193.9992520.0142
Looping result0.00070.0874500.0000
Template Total0.750095.520.3750
Template load0.00230.296820.0012
Template processing0.747695.215520.3738
Template load and register function0.00020.027810.0002
states
state_id_array0.00180.225810.0018
state_identifier_array0.00100.129320.0005
Override
Cache load0.00190.2466190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.102410.0008
Fetch class attribute name0.00110.136720.0005
XML
Image XML parsing0.00010.014510.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00160.2089100.0002
String conversion0.00000.001240.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs