Share » Forums » Setup & design » Different pagelayout for root node...

Different pagelayout for root node full view and sitemap?

Different pagelayout for root node full view and sitemap?

Friday 28 January 2005 2:21:01 pm - 3 replies

Modified on Friday 28 January 2005 2:22:54 pm by Chris McCulloh

Author Message

Balazs Halasy

Friday 28 January 2005 2:38:22 pm

Hi,

It is late and I'm not 100% clear in the head, but can't you just do something like "/layout/set/my_layoyt/content/view/sitemap"? Just thinking about the quickest way to solve your problem - definetively not so elegant, but might work... read this page:

http://www.ez.no/ez_publish/documentation/reference/modules/layout

Cheers!

Allman

Chris McCulloh

Friday 28 January 2005 8:57:49 pm

Thanks for the heads up -- I'm a bit embarassed I didn't find the layout module on my own. I suspected something like it existed, but... well, who knows.

It works, but it did necessitate some changes. Had to eliminate any references to ezurl and change them to ezroot to avoid the /layout/set/layoutname being prepended to every link (which is fine since the necessary VH changes had already been made), and add an entry for the default pagelayout to my layout.ini.append so that the layout module could find it.

Thanks!

Vlad Bailescu

Thursday 26 May 2005 8:30:15 am

Not being able to set a layout based on the view is one major pain in the a$$! Add to this the awkward solution to deal with multilanguage sites (using different siteaccesses for your site) and you will have a real mess, forcing you to kick in tons of |ezroot and a large number of overrides. This really sucks! Any advice from the developers?

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

36 542 Users on board!

Forums menu