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

|