Forums / Setup & design / get line_article to load

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