Learn More





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...Skins, Themes, ...Skins, Themes, ...Hiding "navigation menu" on certain pages but not othersHiding "navigation menu" on certain pages but not others
New Post
3/4/2015 5:39 PM

Good afternoon and thank you for taking the time to read this. I am having trouble figuring out how to disable my site navigation menu from certain DNN pages (landing pages, for example) but not from others. After googling, the best explanation I can come up with is "it's a function of the skins", but nothing further. There doesn't appear to be any settings on the pages, or in any of the menus.

If I understand this correctly, I -should- be able to copy/paste the skin into another directory, find the code that displays the menu stuff on the page, and remove it from the code? Is this correct, and if so what should I look for within the skin files that would display the menu? Thank you very much.


New Post
3/5/2015 5:25 PM
FYI: I'm currently using DNN 7.3. I got it, and it turns out that it's way easier then the impression I was given. In my skin directory (in my case, Generic 1.0) there were 3 files, contact.aspx, index.aspx and inner.aspx and their corresponding xml files. All I had to do was copy one set (ie, index.aspx and index.doctype.xml) and rename them. In this case, I went with inner-nomenu (Clever, right?) and removed a few lines: <%@ Register TagPrefix="dnn" TagName="MENU" src="~/DesktopModules/DDRMenu/Menu.ascx" %>   and some related stuff in a section beginning with <!--menu-->. One quick look through these files and you should see what I'm talking about. I hope this information is useful to those of you reading this in the future.
New Post
3/5/2015 5:35 PM
I am glad you were able to figure it out - it is exactly the right solution :)

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
3/5/2015 5:37 PM
You could also do something similar by just adding CSS to hide the menu or using page tags to alter how the menu is rendered.  Both of those options are more complex than just creating a custom page layout, but they are more flexible in cases where it is not as simple as "showing/hiding" the menu.  I have a blog on this from a few years ago which covers Advanced Menu Design with the DDR Menu.

Joe Brinkman
DNN Corp.
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Hiding "navigation menu" on certain pages but not othersHiding "navigation menu" on certain pages but not others

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?