Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Menu items visible depending on the users rights
sommerjack
Newbie

Posts: 1
Registered: 9/29/2007
Member Is Offline
posted on 9/29/2007 at 03:21 PM Reply With Quote
Menu items visible depending on the users rights


How is it possible to make menu items visible or not depending on the users rights?

In the menu code I am using at this moment, I define all menu levels and items in a jsp page. This makes it possible to control if the items are visible just with a simple if statement.

But in Tigra Menu all levels and items are defined in a javascript file, then how can I control which are visible or not depending on the users rights?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 9/30/2007 at 02:05 AM Reply With Quote

you can do one of the following:
1. move menu from external JS file into the main document and show one hierarchy or another based on the access levels
2. generate the items structure inside the main document or in separate server side script dynamically at the page load time ( see http://www.softcomplex.com/forum/viewthread_3551/ for concept and other forums for working samples)
3. create multiple external static JS files with the items (separate for each user role) and dynamically link one of them based on the current user
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004