DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DDR inbuilt functionality

 14 Replies
 3 Subscribed to this topic
 35 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
New Around Here Send Private Message
Posts: 17
New Around Here

Hi Team,

Can anyone suggest how DDR Menu hamburger functionality over small screen works(changing from large screen to small screen size), I am unable to find CSS or anything which is taking care of its menu. I want the same Hamburger functionality over large screen as well. Also Please let me know if you find any resourcefile or video link from where I can get a knowledge of which files among .txt,.js and menudef.xml has major dependency. Also I am trying to put new DDR Menu module over my page.I found it is coming in list format over large screen I want it to come horizontally in a row.Do we have to define their apperance through CSS or Not? I explored many document resources but I have not find anything which I can relate with. I am bit confused.

Thanks!!

Veteran Member Send Private Message
Posts: 1245
Veteran Member
DDR simply renders an unordered list, assuming that you use the "standard" menu option. everything else is done via CSS.

I suggest that you take a look at the standard (Xcillion) skin to see how it is done there. Or look at the theme that comes with nvQuickTheme. I believe that both of those use basic Bootstrap to style the list rendered by DDR. Or look at this site and change the window size. You will get a "hamburger" menu when the screen is narrow.
Veteran Member Send Private Message
Posts: 1245
Veteran Member
We are not talking about Double Data Rate here. The reference is the the DDR Menu that is provided as part of DNN (as in DotNetNuke).
New Around Here Send Private Message
Posts: 17
New Around Here
Thanks Joe, again a small question came to my mind, Since I'll be using two ddr menus is it possible to handle some of the menu items is shown in first one and in the other one all menu items should be shown. I tried by switching off "display in menu " from the page setting (Page > Details section in dnn through persona bar)for one of the menu item but it has reflected on both the DDR Menus. Can you suggest what is the possible Solution to handle this hurdle. Thanks for Your Kind Gesture Joe.
New Around Here Send Private Message
Posts: 17
New Around Here

Hi All,

Is it possible to tweak the DDR Menu in to vertical menu, I tried it from xcillion as well but it has been used by giving id to the navbar and by changing CSS & child page are shown/handled using JS. Is their any setting with in the module through which we can get Vertical Menu istead of horizontal. 
Kindly do the needful.

Thanks !

Anmol Parikh

Veteran Member Send Private Message
Posts: 787
Veteran Member

As it is usinig the DDR menu, I think https://demo.40fingers.net/dnn-ddr-demo-skin/ will be helpful

New Around Here Send Private Message
Posts: 17
New Around Here

Hi Everyone,
Warm wishes!!
I am looking for an easier/better way to disable menu items depending on the user access/role/rights user has. I've been using DDR menu within my website. Does DDR menu has any inbuilt functionality to disable the menu items that user doesn't has access too yet user will be able to see the menu item and when clicks on it will take user to access denied page.I think we can go by checking the rights for each menu item for the user who has logged in and enable the item's which user has access too (around 100 items in total). Thats seem to be a lot of code. Any ideas/examples of a better way to do this?
Thanks,
Anmol Parikh

Veteran Member Send Private Message
Posts: 1198
Veteran Member
Posted By anmol_parikh on 6/3/2024 8:56 AM

Hi Everyone,
Warm wishes!!
I am looking for an easier/better way to disable menu items depending on the user access/role/rights user has. I've been using DDR menu within my website. Does DDR menu has any inbuilt functionality to disable the menu items that user doesn't has access too yet user will be able to see the menu item and when clicks on it will take user to access denied page.I think we can go by checking the rights for each menu item for the user who has logged in and enable the item's which user has access too (around 100 items in total). Thats seem to be a lot of code. Any ideas/examples of a better way to do this?
Thanks,
Anmol Parikh

DDR is the Core DNN menu and it adheres to all the user rights you set under page settings to display pages or not.
Try it using a private browser to see..

 

 

New Around Here Send Private Message
Posts: 17
New Around Here

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?

 

Veteran Member Send Private Message
Posts: 350
Veteran Member
You can do logic as you wish within your theme based on security roles (assuming this is the way you have the concept of "groups" setup). You can perform a check to see if a user is in a particular role or roles and build the menu items out to behave as you see fit.

David Poindexter


Creator:


Page 1 of 212 > >>

These Forums are dedicated to the discussion of DNN Platform.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved