get line_article to load

Author Message

James Ward

Sunday 27 July 2003 4:29:47 pm

Hi all. I'm driving myself nuts with this so any help would be much appreciated. I am just trying to get my own design working based on the news section of the demo. I used pagelayout_news.tpl as my pagelayout.tpl file and used the override.ini settings for folder and article for my design. I also copied folder.tpl, article.tpl, and line_article.tpl to the appropriate folder for my design.

When I run the news section in my design however, line_article.tpl will not load. I get the following template debug info (my design is called "jw" ) :
design/jw/override/templates/folder.tpl
design/standard/templates/content/datatype/view/ezxmltext.tpl

Whereas on the demo site I get this in the same spot:
design/demo/override/templates/folder.tpl
design/standard/templates/content/datatype/view/ezxmltext.tpl
design/demo/override/templates/line_article.tpl

And the article titles and intros appear. Any idea what I have missed?

working at www.wardnet.com
blogging at www.jamesward.ca

James Ward

Sunday 27 July 2003 4:43:44 pm

I missed the following setting in my override.ini

[line_article]
Source=node/view/line.tpl
MatchFile=line_article.tpl
Subdir=templates
Match[class]=2

Works like a charm now. :)

working at www.wardnet.com
blogging at www.jamesward.ca

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 31 2025 04:17:40
Script start
Timing: Jan 31 2025 04:17:40
Module start 'layout'
Timing: Jan 31 2025 04:17:40
Module start 'content'
Timing: Jan 31 2025 04:17:41
Module end 'content'
Timing: Jan 31 2025 04:17:41
Script end

Main resources:

Total runtime1.0069 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1328151.2109
Module start 'layout' 0.00540.0024 739.343836.6484
Module start 'content' 0.00780.9983 775.9922884.8438
Module end 'content' 1.00610.0008 1,660.83597.8516
Script end 1.0069  1,668.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2952160.0002
Check MTime0.00130.1276160.0001
Mysql Total
Database connection0.00080.077910.0008
Mysqli_queries0.963395.6715520.0185
Looping result0.00040.0350500.0000
Template Total0.979297.320.4896
Template load0.00170.172320.0009
Template processing0.977597.078920.4887
Template load and register function0.00130.130210.0013
states
state_id_array0.00120.122810.0012
state_identifier_array0.00070.068320.0003
Override
Cache load0.00140.1394220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.057910.0006
Fetch class attribute name0.00180.182330.0006
XML
Image XML parsing0.00130.126810.0013
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00150.1525160.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs