load page with template id in url?
Posted: Sat Jun 13, 2009 3:31 am
Hi guys
Is it possible to load a page choosing the template by url?
I've built the cgcalendar into an iframe because i couldnt get it to work stand alone without changing the other content on the page.
I gave it it's own bare template in the iframe, see here http://alturl.com/bvve (please dont post direct urls)
the prev next months work great, they change within _self (the iframe) and i've set the event dates to go to _parent so the user sees the event inĀ the blank parent window.
BUT this is where the problem lies - it's the bare template i set up for the iframe.
is there any way of setting the links so they're like "{$event.url}?id=template_21" or somethign like that?
ANy help greatly appreciated! i had to typ ethis all out again after the forum logged me out, and i've been on this for hours!
Cheers guys!
Is it possible to load a page choosing the template by url?
I've built the cgcalendar into an iframe because i couldnt get it to work stand alone without changing the other content on the page.
I gave it it's own bare template in the iframe, see here http://alturl.com/bvve (please dont post direct urls)
the prev next months work great, they change within _self (the iframe) and i've set the event dates to go to _parent so the user sees the event inĀ the blank parent window.
BUT this is where the problem lies - it's the bare template i set up for the iframe.
is there any way of setting the links so they're like "{$event.url}?id=template_21" or somethign like that?
ANy help greatly appreciated! i had to typ ethis all out again after the forum logged me out, and i've been on this for hours!
Cheers guys!