one ezPublish and many virutal domain

Author Message

Araujo Pedro Guntin

Saturday 08 January 2005 6:47:00 pm

Hi...

I'm beginning to learn ezPublish system and use it too.

I need to have one ezPublish system which has many virtual domains with different contents in each of those virtual domains.

What can I do?

Thanks, for all

Kristian Hole

Sunday 09 January 2005 10:47:49 am

Hi.

This is a standard feature of eZ publish.

You need to create different siteaccesses for each of those virtual domains. The siteaccess contain all the settings for those virtual domains. Siteaccesses can have different databases (different content) and different design (layout). This means you can have different sites on the same eZ publish installation.

Here are some documentation to get you started:
http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/several_sites_with_one_installation

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Araujo Pedro Guntin

Tuesday 11 January 2005 8:52:58 am

Thanks Kristian...

I just set many domain in a sigle ezpublish.

But, I really need that each domains have its own content in the same database.

For example:

site1.com only access to folder fold1 and fold2 and...
site2.com only access to folder fold2 and fold3,
so, I could separate the folder content for each domain

Is it possible?

What can I do?

Thank for all

Sven Berg Ryen

Tuesday 11 January 2005 10:22:01 am

Have you tried using the "PathPrefix" option under [SiteAccessSettings] in site.ini?

That way, by putting your sites in separate folders at the top level of your content hierarchy, the user will not see that several sites are run from the same database.

I'd also assume that you could set the RootNode under [NodeSettings] in content.ini to something other than 2 for each site, but I haven't tested that option yet. You may also need to change the RootNodeID of the [TreeMenu] in contentstructuremenu.ini.

Cheers,

Sven Ryen
sven.ryen at maxus.no

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 01:11:24
Script start
Timing: Jan 19 2025 01:11:24
Module start 'layout'
Timing: Jan 19 2025 01:11:24
Module start 'content'
Timing: Jan 19 2025 01:11:24
Module end 'content'
Timing: Jan 19 2025 01:11:24
Script end

Main resources:

Total runtime0.8928 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 590.5469152.6406
Module start 'layout' 0.00440.0034 743.187539.4766
Module start 'content' 0.00780.8834 782.6641578.5156
Module end 'content' 0.89120.0015 1,361.179712.1406
Script end 0.8927  1,373.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3758160.0002
Check MTime0.00140.1554160.0001
Mysql Total
Database connection0.00060.068810.0006
Mysqli_queries0.839594.0299620.0135
Looping result0.00070.0739600.0000
Template Total0.864196.820.4321
Template load0.00220.251120.0011
Template processing0.861996.537920.4309
Template load and register function0.00020.022610.0002
states
state_id_array0.00070.083110.0007
state_identifier_array0.00090.103320.0005
Override
Cache load0.00190.2113300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.086530.0003
Fetch class attribute name0.00140.158050.0003
XML
Image XML parsing0.00090.100830.0003
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00090.1026160.0001
String conversion0.00000.001140.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
2content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs