Forums / Install & configuration / New site access problems with copied templates

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!

eZ debug

Timing: Jan 18 2025 18:20:11
Script start
Timing: Jan 18 2025 18:20:11
Module start 'content'
Timing: Jan 18 2025 18:20:12
Module end 'content'
Timing: Jan 18 2025 18:20:12
Script end

Main resources:

Total runtime1.2766 sec
Peak memory usage4,096.0000 KB
Database Queries195

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.9609180.8047
Module start 'content' 0.00621.0948 768.7656491.8750
Module end 'content' 1.10110.1754 1,260.6406336.7188
Script end 1.2765  1,597.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3267210.0002
Check MTime0.00150.1138210.0001
Mysql Total
Database connection0.00060.050110.0006
Mysqli_queries1.203094.23511950.0062
Looping result0.00220.16991930.0000
Template Total1.242697.320.6213
Template load0.00200.157120.0010
Template processing1.240597.178720.6203
Template load and register function0.00010.008110.0001
states
state_id_array0.00100.074810.0010
state_identifier_array0.00140.106420.0007
Override
Cache load0.00160.1289280.0001
Sytem overhead
Fetch class attribute can translate value0.00210.161620.0010
Fetch class attribute name0.00110.086850.0002
XML
Image XML parsing0.00080.062420.0004
class_abstraction
Instantiating content class attribute0.00000.001480.0000
General
dbfile0.00450.3558270.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs