Karen
|
Posted: 03/06/2003, 5:16 PM |
|
I would like to place a page into another, i.e., these 2 pages exist separately now, e.g., a search page on its own but I would also like to include this into other pages. I'm using PHP with templates. Is it possible for me to edit the html of the first page to use frames to include the second page (.php)? Is that the way to do it? Other than editing the html, is there anything else that needs to be done to ensure the logic remains the same? Would love to hear from your experiences. Pls advise. Thanx in advance.
|
|
|
zeromaster
|
Posted: 08/28/2003, 3:35 AM |
|
try an i-frame
<iframe src="named.php" width="80%"></iframe>
can be inserted to look like a page within a page !
|
|
|
RonB
|
Posted: 08/28/2003, 5:04 AM |
|
Do not put the iframe directly in the html in CCS it will then lock your page to further edditing as CCS does not support iframes. Instead use the set tag action to insert the iframe at runtime:
In html insert code in brackets i.e. {my_iframe}
do a before show event on the page and add:
global $Tpl;
$Tpl->SetVar("my_iframe", "<iframe src='named.php' width='80%'></iframe>");
Ron
|
|
|
|