Site
Web
Search
Login
Home
Document Exchange
Features
Extensions
Licensing
Testimonials
Translations
Buy
DMX Extensions
Support
Forums
Downloads
Free Stuff
Translations
Company
Partners
News
Contact
Test
You are here:
Support
/
Forums
Bring2mind Forums
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
Document Exchange
>
User Interface
Hiding context menu items
Last Post 06/13/2013 10:43 AM by
Peter Donker
. 3 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Sudhakar Chinnaswamy
New Member
Posts:2
05/31/2013 11:49 PM
How does one hide context menu items such as lock, Show Direct Link, Delete and so forth, based on user roles?
Thanks!
Peter Donker
Veteran Member
Posts:4536
06/03/2013 11:12 AM
You'd need to make specific tweaks to the XSL file defaultmenu.resources under portal/[id]/DMX/Menus. If you're familiar with XSL you'll quickly see how it is built up and you can make tweaks in that file that will change the menu. If you change to debug mode (log in as host and select the checkbox on the main options) then you'll find the XML gets written to portal/[id]/DMX/Temp. That will help you finding what you need.
Peter
Synoptek Web Team
New Member
Posts:10
06/12/2013 12:19 AM
I have successfully hidden menu items using the 'IsAdmin' parameter. How can I use a specific DNN user role to determine which menu items are hidden?
Peter Donker
Veteran Member
Posts:4536
06/13/2013 10:43 AM
The User's roles are there in clear text in the XML: UserInfo/Roles/Role
If you switch to debug mode (Main Options screen) then you can see the xml written upon every request to portals/[id]/DMX/Temp.
Peter
You are not authorized to post a reply.
Document Exchange
--Release Notes for Document Exc...
--Installation and Activation Is...
--User Interface
--Search
--Storage and Security
--WebDAV
--API
Document Exchange Lite
--Installation and Activation Is...
--Search
--Localization
--UI
--Storage and Security
--Extensions and addons
Forums
>
Document Exchange
>
User Interface