Hello there,
PHP Code:
new menu,keys;
get_user_menu(id,menu,keys);
//only show the menu if no other is being displayed
if(menu == 0)
{
menu_display(id,g_menu_main,0);
}
else
{
//No menu is being displayed
}
The above code works as long as I don't want to check if menu is a menu I created in my plugin. So I was wondering how I could get the outside ID of a menu created via menu_create (new Menu system). In the old system one could use register_menuid for that but whats the pendant for this in the new system?
sake
__________________