topherG
2009-03-04 09:10:25 UTC
What I am trying to do is dynamically build the menu on the switchboard depending on the current users rights.
I've built a function thus far which takes the current users rights as a string seperated by commas. The function then splits the string into an array and iterrates through each value to make menu items visible. This portion works great...
However, what I need to do now is re-position the menu items on the switchboard and resize the menu itself dependent on:
a) How many menu items there are, and;
b) Which menu items are present.
I'm really stuck on this one, and I could use some help from you guys!
Thank you in advance for your advice.