Overide of template for my own created class in section does not wok

Author Message

Vytautas Germanavičius

Friday 15 October 2004 8:53:31 am

I created class, default template for the class and override teplate for one section.
in override.ini.append.php I have:

[lt_knygynas_line2]
Source=node/view/line.tpl
MatchFile=aaa.tpl
Subdir=templates
Match[class]=31
Match[section]=8

[lt_knygynas_line]
Source=node/view/line.tpl
MatchFile=lt_knygynas_line.tpl
Subdir=templates
Match[class]=31

[lt_folder_line]
Source=node/view/line.tpl
MatchFile=line/lt_folder_line.tpl
Subdir=templates
Match[class_identifier]=folder
Match[section]=8

I cleared cache. Override for class "folder" works, but for my created class doesn't.

I found something similar in http://ez.no/community/forum/setup_design/newly_created_overrides_wont_work

But there are only php files in .../settings/siteaccess/news/ folder.

{set-block scope=root variable=cache_ttl}0{/set-block}

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 11:35:57
Script start
Timing: Jan 19 2025 11:35:57
Module start 'layout'
Timing: Jan 19 2025 11:35:57
Module start 'content'
Timing: Jan 19 2025 11:35:59
Module end 'content'
Timing: Jan 19 2025 11:35:59
Script end

Main resources:

Total runtime1.5196 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 590.5781152.6563
Module start 'layout' 0.00530.0036 743.234439.4922
Module start 'content' 0.00891.5092 782.7266468.1250
Module end 'content' 1.51810.0015 1,250.85168.0938
Script end 1.5196  1,258.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2170160.0002
Check MTime0.00130.0873160.0001
Mysql Total
Database connection0.00080.049910.0008
Mysqli_queries1.476597.1613460.0321
Looping result0.00050.0318440.0000
Template Total1.468596.620.7343
Template load0.00220.144520.0011
Template processing1.466396.491620.7331
Template load and register function0.00010.006910.0001
states
state_id_array0.00250.166910.0025
state_identifier_array0.00280.184320.0014
Override
Cache load0.00170.1120100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.035410.0005
Fetch class attribute name0.00060.041020.0003
XML
Image XML parsing0.00180.119610.0018
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00290.1932160.0002
String conversion0.00000.000640.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 8
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs