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.

eZ debug

Timing: Jan 18 2025 19:26:44
Script start
Timing: Jan 18 2025 19:26:44
Module start 'layout'
Timing: Jan 18 2025 19:26:44
Module start 'content'
Timing: Jan 18 2025 19:26:44
Module end 'content'
Timing: Jan 18 2025 19:26:44
Script end

Main resources:

Total runtime0.0192 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9375152.6250
Module start 'layout' 0.00700.0042 740.562539.4453
Module start 'content' 0.01130.0059 780.007889.2422
Module end 'content' 0.01710.0021 869.250030.3047
Script end 0.0192  899.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003015.7512140.0002
Check MTime0.00126.2472140.0001
Mysql Total
Database connection0.00083.943110.0008
Mysqli_queries0.003920.202230.0013
Looping result0.00000.088010.0000
Template Total0.00178.910.0017
Template load0.00094.603310.0009
Template processing0.00084.256510.0008
Override
Cache load0.00063.194810.0006
General
dbfile0.00031.496580.0000
String conversion0.00000.047140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs