eZ Community » Forums » Setup & design » Different layout for entire subtree
expandshrink

Different layout for entire subtree

Different layout for entire subtree

Friday 04 May 2007 2:08:33 pm - 2 replies

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

Friday 04 May 2007 2:41:51 pm

Solved

Instead of:

Match[node]=64

i've put:

Match[url_alias]=MyNode

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

Thursday 06 February 2014 2:48:12 pm

Thank you !

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from