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

 menu builder problem

Print topic Send  topic

Author Message
RussellP

Posts: 20
Posted: 02/16/2008, 7:03 PM

I embarked on building a menu system to be part of a header, as was my standard technique in CC3.
I have been able to build a menu system using the menu builder with no difficulties. However, when I converted this to an includeable page, I immediately got an error of the type


Class 'clsMenu' not found in C:\wwwroot\myproject\myheader.php on line 3

Examining this code, it appears that the necessary include files are not included when an includaeable page is created. The following code is missing, but I am not sure if it should be there.

//Include Common Files @1-D3419549
define("RelativePath", ".");
define("PathToCurrentPage", "/");
define("FileName", "NewPage2.php");
include_once(RelativePath . "/Common.php");
include_once(RelativePath . "/Template.php");
include_once(RelativePath . "/Sorter.php");
include_once(RelativePath . "/Navigator.php");
//End Include Common Files

So, I would like to know how I can build a menu system into a header, which can be then included onto other pages

Thanks

Russell P
_________________
Russell P
View profile  Send private message
RussellP

Posts: 20
Posted: 02/16/2008, 8:55 PM

What I have done to fix this is to copy in the code for the include files into the header of the code for the includeable page. It works, but it seems odd to have to do this.

regards

Russell
_________________
Russell P
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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