CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Menu builder, dynamic Root ID, how? [Resolved]

Print topic Send  topic

Author Message
songohan

Posts: 89
Posted: 10/02/2008, 12:14 AM

Is there a way to set menu root ID dynamicaly? If so, how to do that?

Thnx,

Andrej
View profile  Send private message
songohan

Posts: 89
Posted: 10/05/2008, 11:50 AM

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
mamboBROWN


Posts: 1713
Posted: 10/09/2008, 5:01 PM

songohan
If you don't mind adding [Resolved] to the title and maybe putting this tip in the Tips & Solutions forum. Thanks in advance.
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.

Web Database

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.