Can not override node 2, root full view mode.

Author Message

Tore Skobba

Monday 09 February 2004 4:20:52 am

I am trying to override node 2 full view mode. However, I always get:

No template could be loaded for "node/view/full.tpl" using resource "design"

My override.site.ini
[full_folder_node_2]
Source=node/view/full.tpl
MatchFile=node/view/full_folder_node_2.tpl
Subdir=templates
Match[node]=2

And I DO have a template called full_folder_node_2.tpl in my correct design folder. However, EZ seems to be totally unable to find it.. Which I find strange since all the other templates overrides are function 100%. Anyone here who have had any similar problems?

Tore

Balazs Halasy

Monday 09 February 2004 6:44:33 am

You would have to have /design/your_design/override/templates/node/view/full_folder_node_2.tpl for this to work. Are you sure that the file is in the correct folder? Cleared the caches? What does the debug tell you?

Balazs

Ole Morten Halvorsen

Monday 09 February 2004 7:03:33 am

eZ publish uses the first match it finds in override.ini, so make sure your node overrides is at the top of the file.

-Ole

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

Tore Skobba

Monday 09 February 2004 7:49:46 am

Thanks, I moved the override to the start of the file, it works now. Strange, becasue I was sure that I had tried that before. I probably missed the first override.

Cheers
Tore

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

Main resources:

Total runtime1.2101 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.0469152.6406
Module start 'layout' 0.00840.0049 740.687539.4766
Module start 'content' 0.01331.1952 780.1641576.0547
Module end 'content' 1.20850.0016 1,356.218812.1250
Script end 1.2101  1,368.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2776160.0002
Check MTime0.00140.1180160.0001
Mysql Total
Database connection0.00070.059510.0007
Mysqli_queries1.147094.7815620.0185
Looping result0.00090.0769600.0000
Template Total1.164396.220.5822
Template load0.00220.178720.0011
Template processing1.162296.035820.5811
Template load and register function0.00020.018710.0002
states
state_id_array0.00130.111610.0013
state_identifier_array0.00100.080220.0005
Override
Cache load0.00180.1467240.0001
Sytem overhead
Fetch class attribute can translate value0.00130.110930.0004
Fetch class attribute name0.00290.237650.0006
XML
Image XML parsing0.00130.107330.0004
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00180.1460160.0001
String conversion0.00000.000840.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
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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs