Can I create multiple portals with single installation ?

Jan 6, 2012 at 10:59 AM

I need to create multiple portals like portal A, portal B.

I need to support different themes and different layouts and modules.

Portals should be accessible like 

http://web.com/PortalA

http://web.com/PortalB

 

Or 

http://portalA.web.com

http://portalB.web.com

Jan 6, 2012 at 11:17 AM

Yes, it is possible. To create multiple "portals", you will have to create multipe Site content in the Content Repository. Any site can be configured to have a custom url address. Both http://web.com/PortalX and http://portalX.web.com type addresses are supported:

  • for http://web.com/PortalX: create a single site under /Root/Sites, set the url to web.com, and create multiple workspaces under this site (PortalA, PortalB, etc.).. this can then be addressed with http://web.com/PortalX. Set IIS so that web.com points to your single Sense/Net installation.
  • for http://portalX.web.com: create multiple sites under /Root/Sites, and set their urls accordingly: set portalA.web.com url for the Site 'portalA', and set portalB.web.com for the Site 'PortalB'. Set IIS so that both portalA.web.com and portalB.web.com points to your singe Sense/Net installation

Both Sites and Workspaces are skinnable, use the Skin property on these content to set custom skins. Layout is defined by pagetemplates and pages: use different pagetemplates / pages for the different Sites/Workspaces to have different layouts. Modules: not sure what you mean by that, but you can use arbitrary portlets on any of your page, so it's a question of building pages, where you have full control over the page, let it be a page of portalA or a page of portalB.

You might want to read http://wiki.sensenet.com/index.php?title=Site_Content_Type and possibly http://wiki.sensenet.com/index.php?title=Smart_Application_Model and http://wiki.sensenet.com/index.php?title=The_Skin_System

Levi Dobson

Feb 20, 2012 at 8:34 AM

Thanks. I will give it a try.