Multiple sites, one admin, reusing content.

Author Message

Luis FLores

Tuesday 21 December 2004 8:19:26 pm

Hi, I will like to know if it is possible to have several "user" sites all managed from the same "admin" site. User sites will be different but could share some content among them.

For example one site is for health, and other for hipertension. I will like to create an article about hipertension that could go to the hipertension website, but could also be in a hipertension related section in the more general health site. This could be extended to more sites with the same idea.

Is it this possible?

Regards,
Luis

Balazs Halasy

Wednesday 22 December 2004 1:53:22 am

Hey,

This is possible. You would have to use the same database for all your content. You would typically separate the different parts/sites by using different folders, sections and so on. The point is that everything would be in the same database. You could set up the following siteaccesses:

-Health (using design "health" and DB "my_database")
-Hipertension (using design "hipertension" and DB "my_database")
-Admin (using design "admin" and DB "my_database")

In addition, all siteaccesses would have to use the same var directory so that images & stuff are available for all of them. Use the host matching feature (configurable from site.ini) to set up the access rules:

www.health.example.com ---> uses siteaccess health
www.hiperstion.example.com ---> uses siteaccess hiperstion
www.admin.example.com ---> uses siteaccess admin

If you need to have the content in separate databases then I'd like to suggest that you check out this product (made by one of our cool partners):

http://ez.no/solutions/solutions_and_software/content_server

Cheers!

Allman

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

Main resources:

Total runtime1.2968 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.0055 589.3125152.6406
Module start 'layout' 0.00550.0026 741.953139.4766
Module start 'content' 0.00821.2874 781.4297497.4063
Module end 'content' 1.29560.0012 1,278.83598.1250
Script end 1.2968  1,286.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2492160.0002
Check MTime0.00140.1094160.0001
Mysql Total
Database connection0.00100.076110.0010
Mysqli_queries1.250196.3944540.0231
Looping result0.00050.0375520.0000
Template Total1.268097.820.6340
Template load0.00220.171420.0011
Template processing1.265897.609220.6329
Template load and register function0.00020.014910.0002
states
state_id_array0.00070.054410.0007
state_identifier_array0.00110.087820.0006
Override
Cache load0.00190.1450230.0001
Sytem overhead
Fetch class attribute can translate value0.00120.090620.0006
Fetch class attribute name0.00100.077230.0003
XML
Image XML parsing0.00070.050820.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00070.0574160.0000
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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs