Monday 07 July 2003 3:56:34 pm
Hi Lars Like with most things associated with the web and ezpublish there are many ways to "skin the cat" :) Here are my suggestions. I'm making the assumption that the intranet and internet sites are planned to be on the same server and utilise the same copy of ezpublish as well as the same database. 1. Create a new siteaccess for the intranet site.
You will end up with 3 site accesses
a. user
b. admin c. intranet 2. Configure the intranet site access as required. 3. Create a new site design for the intranet 4. Configure the site access for the intranet to use the new intranet design with fall backs to the user and standard designs. In the settings/siteaccess/intranet/site.ini
[DesignSettings]
# The standard design, is used as fallback design
# if the element is not in the sitedesign
StandardDesign=user
# The design of the site
SiteDesign=intranet
# AdditionalSiteDesignArray contains an array
# of sitedesigns. These sitedesigns will be used
# if the design was not found in the main
# sitedesign. StandardDesign is the fallback design. AdditionalSiteDesignList[]=standard This is a new setting in 3.1. I'm making the assumption that this configuration will firstly try to find a template in the intranet design then user and lastly standard. You can then make the changes required (i.e the menus) in the intranet design. The common parts of the site will be generated from the templates in the user and standard designs. It would be a good idea to make the intranet templates check to see if the user is logged in before displaying the extra intranet options Let us know how you went.
Cheers
Bruce designIT
My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
|