CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 How to include for menu in the HTML page.

Print topic Send  topic

Author Message
henk

Posts: 2
Posted: 01/01/2010, 6:27 PM

Problem....

I have a PHP file called sidebar.php it is my menu which I call from all my php pages. This however does not work with the codecharge generated pages.

Where would I put the following.

<?php
include ("Templates/sidebar.php");
?>

My guess was to use the HTML file, but that does not work.

Anyone able to help this rookie.

Thanks
H.
View profile  Send private message
damian

Posts: 838
Posted: 01/01/2010, 6:45 PM

try this:

add a label on the page where you want your menu to display, add custom code in before show event:

$output = implode("", file("http://fqdn/filename));   
$Component->SetValue($output);

set content to html

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message

Add new topic Subscribe to topic   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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