Hi, i was wondering (can't find it obviously) whether it's possible to kind of 'import' an external website into my 'content' div ? Like you used to do with frames in the past.
Any help is appreciated.
Thanks
Ton
How to import an external page into content div
Re: How to import an external page into content div
Create UDT, named for example "read_webpage"
In your template you call this UDT like:
Hope this helps,
Rolf
ps. you can import the pagesource with this. not the whole page layout...
Code: Select all
$webpage = file_get_contents("http://www.cmsmadesimple.org/some-page");
$gCms = cmsms();
$smarty = &$gCms->GetSmarty();
$smarty->assign('webpage', $webpage);
Code: Select all
{read_webpage}
<div id="blah">{$webpage}</div>
Rolf
ps. you can import the pagesource with this. not the whole page layout...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -