Forums / Setup & design / One template at multiple nodes

One template at multiple nodes

Author Message

Trond Hjelmaas

Tuesday 07 June 2005 1:27:06 pm

Hi,

I have a templates that I would like to use in 3 different locations/nodes. I tried to copy parts of override.ini.append and just change the node_id:

[full_view_forum_subfolder]
Source=node/view/full.tpl
MatchFile=full_view_forum_subfolder.tpl
Subdir=templates
<i>Match[node]=163</i>

[full_view_forum_subfolder]
Source=node/view/full.tpl
MatchFile=full_view_forum_subfolder.tpl
Subdir=templates
<i>Match[node]=164</i>

but somehow only the first (with node 163) worked. Do I have to multiply the "full_view_forum_subfolder.tpl" file?

Can anyone help me :) ?

Arran Price

Tuesday 07 June 2005 6:05:47 pm

its not the use of
[full_view_forum_subfolder] as the identifier for all of them that is the problem?

do each of your overrides need a different identifier? else only the first is used?

I havent checked this, but figure its probably easy to test and rule out as a cause.

Arran

Eivind Marienborg

Wednesday 08 June 2005 12:37:57 am

Arran's right, you have to specify different identifiers for each override rule.