eZ Community » Forums » General » Multisite using sections or the...
expandshrink

Multisite using sections or the simular instead of full multisite setup.

Multisite using sections or the simular instead of full multisite setup.

Thursday 08 September 2011 5:24:41 pm - 3 replies

I'm looking to set up a multi site setup where all the sites use the a main template and db but can add remove content but not have access to the admin.
I was thinking a section per site.

I do not want to have to create a new db for each site.

How about just a new site settings per site using the same db but making the default page an inner page to a folder that represents thier site?
Has anyone done this and have any tips?

Thursday 08 September 2011 11:47:02 pm

In your siteaccess site.ini.append.php file you need to add these lines:

[SiteSettings]
...
IndexPage=/content/view/full/575/
DefaultPage=/content/view/full/575/

And in your siteaccess content.ini.append.php file you need this setting:

[NodeSettings]
RootNode=575

575 is just a sample number, you need to replace by a node id, please look the documentation page about sections, 575 could be the node id of the company node, everything else is just a matter of setting up the correct roles and policies. I think I will create a blog entry about this.

If you want a different design you'll need to change [DesignSettings] block of each siteaccess in its site.ini.append.php.

PS: Done, I made a blog entry about this. I'm creating a collection of tips.

PS2: Check this http://share.ez.no/learn/ez-publish/lots-of-websites-one-ez-publish-installation-adding-siteaccesses-in-ez-publish

Modified on Thursday 15 September 2011 2:48:06 am by Thiago Campos Viana

Thursday 15 September 2011 3:25:20 pm

Thanks for the links.

No to figureout how to mix domain matching along with url maping.

we have domains like

user1.example.com/en

user1.example.com/fr

user2.example.com/en

user2.example.com/fr

Thursday 15 September 2011 4:02:24 pm

No to figureout how to mix domain matching along with url maping.

There's an enhancement request for this awaiting for its turn. Also see the comment over there  >> http://issues.ez.no/017008 

Kind regards

J.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu