1
Instead of using the standard main menu block, I would like to create my own main menu block.
Creating a block isn't the problem,.......but....:
I know that within XOOPS 1.3.x by using the code:
Quote:
global $xoopsUser;
if($xoopsUser){ // Registered UserMenu
menu links
}
//*******************************************
else { // Anonymous UserMenu
menu links
}
you could handle 2 different types of usergroups mainmenuus within 1 block. Anonymous and Registered users.
No up to my questions:
1). Is the above code also correct for use within XOOPS 2.0.3?
2). What code should I apply if I have a third usergroup, and want to put their mainmenu also within this same menu block?
Can somebody help me out on this?
Grtz., Shine