Forums / Setup & design / Different layout for entire subtree

Different layout for entire subtree

Author Message

Maurizio Amateis

Friday 04 May 2007 5:08:33 am

I have this problem, I have a left menu with some nodes, for one of these nodes (i call it MyNode) i want a completely different layout.
I've modified override.ini adding:

[full_view_news_esterne]
Source=pagelayout.tpl
MatchFile=full_view_news_esterne.tpl
Subdir=templates
Match[node]=64

where 64 is MyNode and full_view_news_esterne.tpl is the different layout.

When i click on that node i can see the different layout with a list of articles.
The problem is that when i click on one of my articles layout come back to the original one.

What have i to do to have the same layout for MyNode and for all articles under it ?

Hope i explained well my problem and that someone can help me.

MA

Maurizio Amateis

Friday 04 May 2007 5:41:51 am

Solved

Instead of:

Match[node]=64

i've put:

Match[url_alias]=MyNode

Now new layout works for MyNode and all articles under it.