Share » Forums » Setup & design » Override on parent_node ?

Override on parent_node ?

Override on parent_node ?

Thursday 06 November 2003 1:33:28 pm - 3 replies

Author Message

Paul Forsyth

Thursday 06 November 2003 3:20:55 pm

Yip, i've had the override working when matching by parent_node.

Your position sounds fine. I find that the overrides are sensitive to file positions, but near the top should do the trick...

Ok, your cache is fine, have you checked whether the admin can see it (through setup/templates) and if your file permissions are ok?

paul

Marco Zinn

Wednesday 12 November 2003 3:43:04 pm

Hm, it does not work still.
Can you please provide your override.ini snippet?
Did you just override on parent_node or did you combine it with class_id or so?
We just have tried overriding on parent_node ID, but it has no effect.

Marco
http://www.hyperroad-design.com

Paul Forsyth

Thursday 13 November 2003 1:22:57 am

Heres the snippet.

# Articles
[full_home_article]
Source=node/view/full.tpl
MatchFile=node/full_home_article.tpl
Subdir=templates
Match[class]=17

[full_biography_article]
Source=node/view/full.tpl
MatchFile=node/full_biography_article.tpl
Subdir=templates
Match[class]=2
Match[parent_node]=45

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu