Tuesday 09 October 2007 5:18:50 am
you are still mixing siteaccess and design like pointed out above, design and siteaccess are two separate things. A Siteaceess is kind of a 'site', or just a variation of another site with different language or design or some templates or all. Corrected version of your walk through:
Step 3: In /settings/override/site.ini.append.php added
AvailableSiteAccessList[]=mysite
So entire block reads:
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=ezwebin_site
AvailableSiteAccessList[]=ezwebin_site_admin
AvailableSiteAccessList[]=mysite
MatchOrder=uri
HostMatchMapItems[]
Step 6.
Created a new folder in /settings/siteaccess called 'mysite' and copied all files from 'eng' folder in
Step 7. Edited /settings/siteaccess/mysite/site.ini.append.php to read:
[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=ezwebin_site
RelatedSiteAccessList[]=ezwebin_site_admin
RelatedSiteAccessList[]=mysite
ShowHiddenNodes=false
and...
[DesignSettings]
SiteDesign=mydesign
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base
This makes your design override the other designs
Step 8
If you want someone to have access to the new siteaccess you need to add user/login (mysite) to the users / groups you want grant access. To test go to <root_url>/mysite/user/login and login as admin to verify if it is a setup or access problem.
Step 9 Clear all cache (minimum ini cache and template override cache)
While you are developing it might be useful to use these settings (change to own preference) settigns/override/site.ini*:
[ContentSettings]
ViewCaching=disabled
[DebugSettings]
DebugOutput=enabled
ScriptDebugOutput=disabled
# enable this if you develop your own modules/view or need to debug whats going on
DebugRedirection=disabled
DebugToolbar=disabled
[TemplateSettings]
# the following will add xhtml comments to the source code to more easily
# trace what template is used where, but will cause ie to work in quirks mode
# breaking your site design in ie
Debug=disabled
ShowXHTMLCode=disabled
ShowUsedTemplates=disabled
# You will get more detailed and stricter template errors when this is turned on
# remember to test your site with this enabled before you go live and always
# enable it on production sites
TemplateCompile=disabled
TemplateOptimization=enabled
# cache blocks:
TemplateCache=disabled
# makes the template system check if template needs to be re compiles
# and also affects a couple of other things
DevelopmentMode=enabled
For more documentation on different settings look in settings/*.ini or in the online documentation: http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|