dmelosi
01-27-2008, 03:11 PM
Permission based links
http://www.dealermanage.net/dropnav.htm
I have an application that people need to log in. There is an admin in each location that will set what each individual can see. I am using the Top Navigational Bar III v3.5 by BrotherCake.
Here is a little sample of the code.
addMainItem("/main/welcome.asp","",81,"center","","",0,0,"","","","","");
defineSubmenuProperties(135,"center","center",-3,0,"","","","","","","");
addSubmenuItem("/main/welcome.asp","Personal Dash","");
addSubmenuItem("/MgmtTools/welcomeDash.asp","Dock Dash","");
I am wanting to call from a database to see if that person who logs in has permission to get to that page (which is set by the admin). How would i put the code around each link to see if that link needs to be enabled for that particular person who has logged in to see in the drop down menu? Can that be done?
Thanks,
Dave
http://www.dealermanage.net/dropnav.htm
I have an application that people need to log in. There is an admin in each location that will set what each individual can see. I am using the Top Navigational Bar III v3.5 by BrotherCake.
Here is a little sample of the code.
addMainItem("/main/welcome.asp","",81,"center","","",0,0,"","","","","");
defineSubmenuProperties(135,"center","center",-3,0,"","","","","","","");
addSubmenuItem("/main/welcome.asp","Personal Dash","");
addSubmenuItem("/MgmtTools/welcomeDash.asp","Dock Dash","");
I am wanting to call from a database to see if that person who logs in has permission to get to that page (which is set by the admin). How would i put the code around each link to see if that link needs to be enabled for that particular person who has logged in to see in the drop down menu? Can that be done?
Thanks,
Dave