Forums / Setup & design / share content between different sites ?

share content between different sites ?

Author Message

Fabio Carissimi

Friday 03 March 2006 8:44:06 am

Hello,

I have to setup a multi-multilanguage site installation and want to know how
to share content between these sites.

I have a main site, let we call it (mainsite) and several other sites (let we call them subsite1,subsite2 ...).

For differents reasons, I choose to setup theses sites in the same server
(so same Apache, same MySQL, same EzPublish) but
with a database for each site and a folder in /var for each site.

/var/
	/mainsite
	/subsite1
	/subsite2
	/subsite3
	/...

obviously I have a siteaccess for each site and a design for each site

/settings/siteaccess/
		/mainsite
		/subsite1
		/subsite2
		/...

/design/
	/mainsite
	/subsite1
	/subsite2
	/...

First, I want to know how to do it without taking care of multi-language fonctionnality.
(Please tell me if it makes the problem different.)
Some content should appear in the main site and also in the subsites.
For example, the front page of each subsite should contain a presentation,
the main site should be able to access this content and display it.

And www.mainsite.com/subsite1/presentation and
www.subsite.com/presentation
should have the same content but different templates.

I don't care if I have to edit the content in the main or in the subsite
but I think it would be better to edit it in the subsite.

Somebody has any idea of how to access to a content belonging to subsite1
from mainsite?

It is a EzPublish 3.7.2 Server on a Linux server.

I would appreciate any advice because it is the first time I use EzPublish
and I want to begin in the right way because it is a big project.

Many thanks for your help.
Fabio

Fabio Carissimi

Thursday 09 March 2006 12:55:45 am

Nobody has something to tell about it ?
Does someboddy try a solution : extension module, rss ?

Thanks for your help.

Xavier Dutoit

Thursday 09 March 2006 1:09:41 am

Hi,

I'd suggest you to use the same db for all your sites and use different sections for your different sites.

X+

http://www.sydesy.com

Fabio Carissimi

Thursday 09 March 2006 2:06:40 am

Thanks for the suggest but we choose to have different db and var because we will have a lot of sites and each site will have a different administrator.
In each site, the administrator must be able to define his own sectionning, workflow, etc ... so your solution can't fit my needs.

Do you have any other idea ? Do you test RSS ?

Fabio Carissimi

Monday 27 March 2006 1:08:44 am

Hello,

nobody can help me ?
I know this is not an easy issue and I don't want to have all my problem solved by an answer in this forum
but I would really appreciate an advice from Ez Crew members, just some suggestions and some
particular things to take care of.

thanks for help

Heiner Wurbs

Monday 27 March 2006 1:22:22 am

Hi!
I would also recommend one database, because the eZ system itselfs operates with its main features only in one database.

A solution could be (but I wouldnt do that) to use the object export

setup / packages / create new package /  Content object export

On the other site you can make an import.
But anyway, I recommend one database and define the user roles so that it fits the requirements.
Heiner