article override for different sections

Author Message

Prabhavathi Ramesh

Tuesday 21 October 2003 3:27:15 am

I have to display the articles in different sections in different layouts. So I have overriden the full.tpl for articles in each section.
Still it is using the standard section oevrride template for other sections also. What would be the problem?also I have cleared the cache..

order of override.ini is like this:

[ss1_article]
Source=node/view/full.tpl
MatchFile=ss1_article.tpl
Subdir=templates
Match[class]=2
Match[section]=4

[ss2_article]
Source=node/view/full.tpl
MatchFile=ss2_article.tpl
Subdir=templates
Match[class]=2
Match[section]=5

[article]
Source=node/view/full.tpl
MatchFile=article.tpl
Subdir=templates
Match[class]=2
Match[section]=1

Pål Øystein Carlsen

Thursday 30 October 2003 12:31:17 am

I have no answer to this, but I am having a related problem, does anyone have any solution?

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 04:22:59
Script start
Timing: Jan 19 2025 04:22:59
Module start 'layout'
Timing: Jan 19 2025 04:22:59
Module start 'content'
Timing: Jan 19 2025 04:23:01
Module end 'content'
Timing: Jan 19 2025 04:23:01
Script end

Main resources:

Total runtime1.5569 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 590.3906152.6406
Module start 'layout' 0.00580.0028 743.031339.4766
Module start 'content' 0.00861.5471 782.5078461.3438
Module end 'content' 1.55570.0011 1,243.85168.1406
Script end 1.5569  1,251.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.1954160.0002
Check MTime0.00120.0778160.0001
Mysql Total
Database connection0.00070.043210.0007
Mysqli_queries1.507696.8333540.0279
Looping result0.00050.0350520.0000
Template Total1.494996.020.7474
Template load0.00200.131420.0010
Template processing1.492895.882620.7464
Template load and register function0.00020.015310.0002
states
state_id_array0.00180.115210.0018
state_identifier_array0.00160.103020.0008
Override
Cache load0.00170.1115260.0001
Sytem overhead
Fetch class attribute can translate value0.00080.050420.0004
Fetch class attribute name0.00170.110220.0009
XML
Image XML parsing0.00030.016820.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0460100.0001
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs