Forums / Setup & design / multiple sites on one database

multiple sites on one database

Author Message

Marko Žmak

Monday 31 January 2005 3:54:41 pm

I would like to create multiple sites with one eZ installation. I know this is supported, but my problem i this:

I would like each site to have his own root folder in eZ. Example...

Let say we have the followin eZ node structure:

Root
|
|--News
----|
----|---- Daily
----|---- Weekly
----|---- World
|--Forums
----|
----|---- General
----|---- Discuss
----|---- Other
|--Info
----|
----|---- Site
----|---- Companies
----|---- Clients

So I want to create three sites: News, Forums and Info, and each site to have his own folder as root or something similar. The main idea is that users cannot acces the nodes of Info site through user interface of News site. How do I do that?

NOTE: I have only one database available.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Björn Dieding@xrow.de

Monday 31 January 2005 4:04:45 pm

This is possible.

Please have a look in the docs where it tells you how to setup a "multi site".

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Björn Dieding@xrow.de

Monday 31 January 2005 4:05:32 pm

http://ez.no/ez_publish/documentation/configuration/configuration/multi_site

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Marko Žmak

Monday 31 January 2005 4:14:27 pm

No, there's nothing that slves my problem. I'll repeat my main question:

The main idea is that users cannot acces the nodes of Info site through user interface of News site. How do I do that?
(with only one database available)

I couldn't find any topic about this in the docs, does anyone have a sollution for this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Bruce Morrison

Monday 31 January 2005 8:09:39 pm

So I want to create three sites: News, Forums and Info, and each site to have his own folder as root or something similar. The main idea is that users cannot acces the nodes of Info site through user interface of News site. How do I do that?

NOTE: I have only one database available.

I believe you could do it but it would be complex. Each site would require it's own anoymous user. e.g. create 3 users anon_news, anon_forums, anon_info and in the site.ini files for each of the sites set the anonymous user id to that of the corresponding anon user.

[UserSettings]
# The ID of the anonymous user, this user will
# be used for everyone who is not logged in.
AnonymousUserID=10

You can then assign sections to each of the top level nodes and create roles so that the anonymous users can only read content within their own section.

Another option would be just to set the IndexPage & DefaultPage settings to point to the corresponding top level nodes in each of the siteaccess site.ini files. You woul need to make sure that the templaes didn't display info from the other "sites"

HTH

Cheers
bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish