eZ Community » Blogs » Thiago Campos Viana » Tip: Multisite using sections

By

Tip: Multisite using sections

Thursday 08 September 2011 11:52:51 pm

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

A quick tip about the main settings regarding setting up a new siteacces that starts in a given node.

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 to add this:

[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 as a sample, everything else is just a matter of setting up the correct roles and policies.

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

PS: For more information just check this tutorial about lots of web sites, one install. Thanks Nicolas!

Proudly Developed with from