Further, depending on what the information architecture (IA) is intended to be and do, using the permissions model with security roles makes almost any custom navigation display possible, regardless of the organization of the pages.
In fact, in the most extreme cases, it's possible for one set of users to literally see a completely different set of pages based on their security role(s), while they may appear to be the same for another set of users. The only people who would know would be website admins like yourself.
Thanks David, you mean multiple DDRMenu for multiple groups/roles/subscriptions?
Posted By anmol_parikh on 6/4/2024 12:13 PM Thanks Timo, But if I give display pages access to all the users on all the pages then don't you think it will be available for all. Basically what I want is lets say we have 1-10 menu items among which '2,3,5,8' belongs to one group of people (page they can access too), '2,3,4,7' belongs to another group of people(page they can access too) & like this I have n no. of sets of groups. What I want is to showcase all '1-10' menu items to all set of group of people whether they have access too or not (if no access then will take them to access denied/ upgrade page). Is this possible to do via page settings?
Thanks Timo, But if I give display pages access to all the users on all the pages then don't you think it will be available for all. Basically what I want is lets say we have 1-10 menu items among which '2,3,5,8' belongs to one group of people (page they can access too), '2,3,4,7' belongs to another group of people(page they can access too) & like this I have n no. of sets of groups. What I want is to showcase all '1-10' menu items to all set of group of people whether they have access too or not (if no access then will take them to access denied/ upgrade page). Is this possible to do via page settings?
AFAIK you cannot show pages a user does not have rights to in a DDR menu, as it filters them out for you. (which is the normal use case) You can do this with code in your Theme, a custom Theme Object or a module using the DNN API.
This is an example for Open Content, check out the cshtml file for example code. But don't forget, this way you'll have to do all the "rights/deleted etc.) checks DDR normally does for you, yourself.
OpenContent Razor DNN Menu Example
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.