CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Combining pages using frames

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.