Explicit Template Call in URI

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
dennis05
Forum Members
Forum Members
Posts: 15
Joined: Tue Oct 24, 2006 4:26 pm

Explicit Template Call in URI

Post 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.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Explicit Template Call in URI

Post 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
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Post Reply

Return to “CMSMS Core”