CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 How to set menu root ID dynamicaly?

Print topic Send  topic

Author Message
songohan

Posts: 89
Posted: 10/09/2008, 5:12 PM

Well, i did it by changing main PHP file. I added this:

global $RootID;
if (CCGetFromGet("smid", "") == ''){
$RootID = '0';
}
else {
$RootID = CCGetFromGet("smid", "");
}
parent::clsMenu("menu_parent_id", "menu_id", $RootID);

I need this to create menus from second level down.

Hope it helps to someone,

Andrej
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.