« Return to Thread: different layout for different renderings

different layout for different renderings

by Raphael Bauduin :: Rate this Message:

Reply to Author | View in Thread

Hi,

I'm using radiant for the Profoss website ( http://www.profoss.eu ).
Profoss organises events, and each event has its own news section.
This news section is displayed in a tab (widget from extjs.com), eg
http://www.profoss.eu/events?tab=news

If you visit this link, you'll see that the page is rendered as pure
html, so the layout is simply <r:content />.

Although the page is displayed in a tab, I also would like to make it
available at http://www.profoss.eu/events/october-2007-asterisk/news
The problem is that the page there is also rendered with a simple layout.

Is there a way to configure the layout used according to a parameter
passed in the url? That way I would pass something like
"?embedded=true" when requesting the page for the tab content, but the
full layout would be used when accessing the URL without this
parameter.

Or is there an even better solution?

thanks

Raph
--
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

 « Return to Thread: different layout for different renderings