Products

Solutions

Learn More

Partners

Community

Blog

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to hide left navigation tab based on user role on DNN PlatformHow to hide left navigation tab based on user role on DNN Platform
Previous
 
Next
New Post
6/4/2019 2:32 PM
 
Hello,

I am new to DNN and I have one left navigation menu on DNN site. I want to hide the tab based on user role so I found the setting on the page to disable that from the menu but that didn't work. do we have any other settings that need to be changed or in the source code?

Please let me know.

Thank you.
 
New Post
6/5/2019 2:53 AM
 
Mahima,

first welcome to DNN!

To understand your problem better (and be able to help you), it would be great if you could give us some information about the DNN version and the skin (theme) used. It might be a problem of the menu used in the skin, if it is a third-party skin or custom skin, please contact the vendor (manufaturer) of the skin as well.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
6/6/2019 4:51 PM
 
Ok, so the setting to show a page in the menu or not is global (applies to all users) and only sets the menu visibility (someone with the link would still be able to see it).

Then on each page permissions settings, you can select who (roles or specific users) can view or edit the page. I a user or user in a role has no view permission, then it will also not show in the menu (unless there is a menu or theme problem).
 
New Post
6/7/2019 11:28 AM
 
Hi Danial,

Thank you for your response. I really appreciate it. I am aware of the page permission setting based on user role and I have already updated that but the problem is I don't want to send the link to users instead I want to hide the particular left nav tab basd on user role so that is the problem. here is the source code for left nav tab so for example I want to hide links library tab based on user role, I have already created the role but not sure how to update that in the skin/source code:




Please let me know. Thank You
 
New Post
6/8/2019 5:07 AM
 
I am not sure I understand the need correctly. It is automatic that only pages you have permission to view show up in the menu. If the use case is to hide a page you do have permission to view based on role, then I do not see a built-in way. Probably needs to be a custom module. The view in menu option is not scoped by role, the permissions are.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to hide left navigation tab based on user role on DNN PlatformHow to hide left navigation tab based on user role on DNN Platform


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out