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:
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.
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!