Page 1 of 1

Explicit Template Call in URI

Posted: Fri Dec 15, 2006 8:33 pm
by dennis05
Hi!

Is there a way to call a template from within the URI which is different to the defined template?

e.g.
http://mysite/index.php?page=mypage&tem ... mytemplate


Situation: I need to include a cmsms site into another site with php. I thought about creating a template which only contains {content} and then include this site with php.

Re: Explicit Template Call in URI

Posted: Fri Dec 15, 2006 11:24 pm
by JohnnyB
I think you could create a custom template that is basically a blank html page with the {content} tag.

Then, assign the page this template and call it into your other site using an iFrame. 

If iframes are not your favorite, you can try using the object tag.  The method is described here: http://intranation.com/test-cases/object-vs-iframe/


hope this helps