Remove Admin and Host from main menu
Last Post 01/12/2011 2:19 PM by flc. 6 Replies.
Author Messages
flc
Nuke Active Member
Nuke Active Member
Posts:21


--
01/12/2011 9:40 AM
    hi, Is there an easy way to remove the Admin and Host links from the main menu? I would like to put them somewhere else on the page. Thanks, -s
    Scott Kadera Durango, CO
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    01/12/2011 9:56 AM
    Sure, go to the Host and Admin pages and, under Page Settings, uncheck the box so that they don't appear in the menu. That will remove them from any menu that honors that setting.

    If you are using DNN Nav Menu, I would suggest upgrading it to DNN Garden's DDR Menu. With that one you will be able to specify IncludeNodes and ExcludeNodes to control what the menu shows. So ... exclude Host and Admin from the menu. This is a change you need to make in the skin.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    flc
    Nuke Active Member
    Nuke Active Member
    Posts:21


    --
    01/12/2011 10:13 AM
    Ok, I should have thought of the show in menu option. I'm getting a little hung up with a number of issues. I'll look into the DNN Garden Menu.

    Thanks,

    Scott
    Scott Kadera Durango, CO
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    01/12/2011 10:17 AM
    We're here to answer questions!

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    flc
    Nuke Active Member
    Nuke Active Member
    Posts:21


    --
    01/12/2011 12:59 PM
    Ok, here's a few questions... I'm working on this new skin. the Nav Menu needs to be centered from bottom to top and left to right. See the attached screen shot. By playing with the padding on the .menuItemsRoot class, I was able to get it centered pretty well left to right and just about perfect top to bottom. There is about three or four px on the right hand side that do not change color on the rollover. But, I am having problems with the drop downs. As you can see they are twice as long as then need to be and the border does not extend all the way to the end. I assume a TD tag without content is causing the problem but I don't know how to get rid of it. I would prefer to use a pure CSS menu. But right now I just need to know how to get rid of the other table cell and if there is a way to center the menu left to right so that it fills up the whole space. Below is my code and css: thanks, -s Code: <dnn:NAV providername="DDRMenuNavigationProvider" runat="server" id="dnnNAV" IndicateChildren="False" CSSControl="mainMenu" CSSContainerSub="menuSubContainer" CSSNodeRoot="menuItemsRoot" CSSNodeHoverRoot="menuItemsRootHover" CSSNodeHoverSub="menuItemsSubHover" CSSNodeSelectedRoot="menuSelectedRoot" CSSIcon="IconHidden" /> CSS: #navbar { background-color: #7a5b54; height: 24px; padding-top: 10px; } .mainMenu { text-transform:uppercase; font-size: .75em; font-family:Georgia, "Times New Roman", Times, serif; padding: 10px 0px 10px 0px; font-weight: bold; } .menuItemsRoot { color: #c7b5a9; padding: 10px 9px 10px 8px; height: 30px; } .menuItemsRootHover { color: #e5dbd4; background-color: #896e67; } .menuSelectedRoot { color: #e5dbd4; background-color: #896e67; padding: 10px 9px 10px 8px; height: 30px; } .menuSubContainer { } .IconHidden { display: none } .menuSubContainer td { border-bottom: 1px solid #000; background-color:#896e67; color: #e5dbd4; z-index: 2000; width: 100px; padding: 3px; } .menuItemsSubHover td { border-bottom: 1px solid #000; color: #c7b5a9; background-color: #7a5b54; z-index: 2000; width: 100px; padding: 3px; }
    Scott Kadera Durango, CO
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    01/12/2011 2:08 PM
    Which version of DotNetNuke are you using? 
    Are you using the DNN Nav Menu in your skin?
    Have you viewed our tutorials on styling the Nav Menu?

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    flc
    Nuke Active Member
    Nuke Active Member
    Posts:21


    --
    01/12/2011 2:19 PM
    I had our IT guy install the Garden Upgrade. Yes, I did watch the videos a while ago but do need to watch them again. I don't recall seeing that drop down issue in there but I'll check it out. thanks for the help -s
    Scott Kadera Durango, CO


    ---