Override path.tpl problem

Author Message

Y Lin

Sunday 14 November 2004 6:49:15 am

I'm trying to override the path.tpl in design\base\templates\parts by moving it to design\base\override\templates\parts. After making the changes, there's no change to the output. It seems the override file isn't working? Is there anything else I need to do?

~Mac

Felix Laate

Monday 15 November 2004 1:27:32 am

Hi there!

Maybe you need to make an override-setting in /path/to/ez/settings/siteaccess/base/override.ini.append.php.

Read more here: http://ez.no/ez_publish/documentation/customization/custom_design/override_templates

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Ole Morten Halvorsen

Monday 15 November 2004 2:01:22 am

Hi,

1. You have to add an entry in settings/siteaccess/<your_siteacces>/override.ini.append.php to make eZ publish find the new override template.

2. You need to clear the override cache. Do this by running

# bin/shell/clearcache.tpl --clear-tpl-override

or login into the admin interface, click on the 'Setup tab', click on the 'Cache' icon, select 'Template override cache' from the list and press 'Clear selected'.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

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 19 2025 05:19:13
Script start
Timing: Jan 19 2025 05:19:13
Module start 'layout'
Timing: Jan 19 2025 05:19:13
Module start 'content'
Timing: Jan 19 2025 05:19:15
Module end 'content'
Timing: Jan 19 2025 05:19:15
Script end

Main resources:

Total runtime1.4575 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1563152.6250
Module start 'layout' 0.00490.0034 741.781339.4453
Module start 'content' 0.00831.4477 781.2266563.4766
Module end 'content' 1.45600.0014 1,344.703112.1641
Script end 1.4574  1,356.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2396160.0002
Check MTime0.00130.0880160.0001
Mysql Total
Database connection0.00070.046510.0007
Mysqli_queries1.407096.5386590.0238
Looping result0.00070.0486570.0000
Template Total1.424697.720.7123
Template load0.00250.174120.0013
Template processing1.422197.573320.7110
Template load and register function0.00030.017410.0003
states
state_id_array0.00190.132210.0019
state_identifier_array0.00110.075220.0005
Override
Cache load0.00210.1426180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.050730.0002
Fetch class attribute name0.00120.084740.0003
XML
Image XML parsing0.00100.065630.0003
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00090.0597160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs