Wednesday 13 April 2005 1:51:49 pm
Ok this is as far as we've got. Remember this only works if you edit while in the site access you want to change (not while in the Admin siteAccess). Change line 134 of ezpackagetype.php from
$iniPath = "settings/siteaccess/$siteAccess";
to
$accessArray = $GLOBALS['eZCurrentAccess'];
$access = $accessArray['name'];
$iniPath = "settings/siteaccess/$access";
next change line 332 (I don't know yet if Line 195 might also benefit from a similar change ) of ezinisettingtype.php from
$path = 'settings/siteaccess/'.siteAccessArray[$iniInstance];
to
$path = $iniInstance == 1 ? 'settings/siteaccess/' . $GLOBALS['eZCurrentAccess']['name'] : 'settings/siteaccess/' . $siteAccessArray[$iniInstance];
then change line 601 of the same ezinisettingtype.php file from
$siteAccessList = 'override';
to
$siteAccessList = 'override;currentSite';
then edit the sitedesign class (the one for the choice of designs)to use 'currentSite'
We're also making progress with siteAccess specific Logo changes but it's quite long winded and too early to call it a solution. Please don't blame me if the above totally mucks-up your installation. If and when it's all done, dusted and tested I'll publish the whole thing as a clean extension with instructions etc.
The Web Application Service Provider
|