absolute path for design?

Author Message

andreas moxnes

Tuesday 20 May 2003 5:22:19 am

hi,
i'm trying to set up a multisite ez installation.
all is well, but i'd like to set up the "design" paths
for the different sites in the users' own directories.
ala, in site.ini.append:

[DesignSettings]
SiteDesign=/home/to/user/design/demo

with this setup, each user can edit their own templates,
etc, without access to the ez-installation.
however, the above example didn't work.
are there any workarounds?

Jo Henrik Endrerud

Tuesday 20 May 2003 9:59:16 am

The only way is to do this by symbolic links (this is only possible on Linux and other Unix systems)

example:
If your eZ publish directory is in /home/www/ezpublish you set the SiteDesign variable to something (lets use 'jhe' in this example, change with whatever you like)
Make sure you don't have any directories called 'jhe' in your design directory and type:
ln -s /home/to/user/design/demo /home/www/ezpublish/design/jhe

This will make ...design/jhe acting as a link to /home/user...

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.