New site access problems with copied templates

Author Message

Mark Emms

Friday 29 June 2007 8:01:18 am

I have set up a large and fairly complex site (lots of templates and overrides etc).

Now I find that having separate site accesses for sections of the site should solve a number of my problems.

To start with I have tried to create some dulpicate site accesses with new names but identical designs etc.

I have done the following:

1. Copy the settings directory and put identical copies in the sttings directory with a new name each.
2. Copy the design directory for the original site access and put identical copies in the design directory with a new name each (to match the names in 1).
2. Edit the site.ini.append.php in each new settings folder for the site access file to give it new default node, index node, site name, and site design directory
3. Edit the site.ini.append.php in the overrides folder to list the new site accesses by adding lines like

AvailableSiteAccessList[]=newaccessname

4. Change the anonoymous user so that it has read permissions for the new site accesses.

Now I can use the new site accesses but none of the templates seem to be working in the new site accesses - how do I ge all of the templates to work in the quickest possible way?

Mark Emms

Monday 02 July 2007 5:38:20 am

All of the css links are to the original site access - I've obviously done something radically wrong!?

Mark Emms

Monday 02 July 2007 6:02:27 am

OK I've sorted the css problem.

Do I need to go through and manually create a whole bunch of over rides that are the same as the existing ones in the original site access?

Help greatly appreciated!!!!

Mark Emms

Monday 02 July 2007 6:54:57 am

Job done:

All I did was copy across the .ini files from the origianl site access settings to the new one (making sure not to over write the site.ini.append.php file. The override.ini.append.php file is the one responsible for the templates working.

It is all in the documentation - I just didn't look carefully enough!

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 21:12:28
Script start
Timing: Jan 18 2025 21:12:28
Module start 'layout'
Timing: Jan 18 2025 21:12:28
Module start 'content'
Timing: Jan 18 2025 21:12:28
Module end 'content'
Timing: Jan 18 2025 21:12:28
Script end

Main resources:

Total runtime0.0185 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.1641152.6563
Module start 'layout' 0.00770.0039 740.820339.5078
Module start 'content' 0.01160.0043 780.328193.5234
Module end 'content' 0.01590.0026 873.851634.3047
Script end 0.0185  908.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003317.6390140.0002
Check MTime0.00126.3368140.0001
Mysql Total
Database connection0.00115.675510.0011
Mysqli_queries0.004423.503630.0015
Looping result0.00000.135110.0000
Template Total0.002111.510.0021
Template load0.00147.472610.0014
Template processing0.00074.009710.0007
Override
Cache load0.00115.854410.0011
General
dbfile0.00073.645680.0001
String conversion0.00000.070840.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