I was wondering if there is a way to insert a fully rendered page into another page. I know I can use CGSimpleSmarty to insert content from one page into another, but I want to be able to "include" or "call" a fully rendered page into another page. And yes, the template of called page will not contain full HTML (head, body, etc. tags).
TIA
-S
Inserting a page into another page
Re: Inserting a page into another page
Maybe Calguy's reply from this topic could help you http://forum.cmsmadesimple.org/viewtopi ... =8&t=56809
Re: Inserting a page into another page
I would go for CGSimpleSmarty. That has a call to include a page/block.
Ronny
Ronny
Re: Inserting a page into another page
@uniqu3: thanks for the forward. I will look into this. In my case all the pages in question are on the same site, so I was wondering there would be a way of doing the inclusion without the overhead of the "fetch" call.
@Ronny: CGSimpleSmarty currently is able to get the content blocks from other pages but unfortunately does not have a way to get the fully rendered version of a page.
Any other siggestions will be most welcome. I'm also open to writing my own UDT if someone can point me in the right direction. I am sure, for instance, that there are probably methods in the core that are used to render pages as a part of the normal functioning of the site. Any ideas of where to start?
TIA
Sanjay
@Ronny: CGSimpleSmarty currently is able to get the content blocks from other pages but unfortunately does not have a way to get the fully rendered version of a page.
Any other siggestions will be most welcome. I'm also open to writing my own UDT if someone can point me in the right direction. I am sure, for instance, that there are probably methods in the core that are used to render pages as a part of the normal functioning of the site. Any ideas of where to start?
TIA
Sanjay