You need to Register for free and Login to post a message in the forum.

Forum

Subject: Removing "Home" link on House Menu
Prev Next
You are not authorized to post a reply.

Author Messages
mtarby
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:38

15 Jul 2008 11:59 AM  
Well, I thought I'd followed the directions to remove the "Home" link on a HouseMenu and it doesn't seem to work.  I've tried adding the following to my index.ascx page:



And the following to my skin.xml


    [HOUSEMENU]
   
     
        Scope
        -1
     

     
        ShowAdmin
        False
     

     
        ShowHome
        False
     

     
        IsRecursive
        False
     

     
        Orientation
        H
     

     
        Mode
        S
     

     
        CssElementId
        HouseMenuNav
     

   

 


But neither seems to work.  Can someone tell me what I've missed?
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2318


15 Jul 2008 5:52 PM  
All you need to do to remove the "Home" link from any menu is go to the home page, go to page settings, and uncheck the box that shows the page in the menu.

Joe Craig
DNN Creative Support
Subscribe to the website
mtarby
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:38

16 Jul 2008 6:59 AM  
Sorry - I left that off the list of things I tried.  That  worked on everything but this page for some reason.
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3313

17 Jul 2008 10:00 AM  
ok, I have managed to find a solution using CSS.

Entering this code on the DNN creative site removes the home page from the menu:

ul li #HouseMenuNavItem53 {
display: none;
}


All you have to do is look in the source code for the page and identify the ID of the home page, enter that ID number in here: #HouseMenuNavItem53

It may be slightly  different dependant on which version of the house menu you are using, this is for version 1.3, which has the source code of:

< ul id="HouseMenuNav0" >
< li id="HouseMenuNavItem53" >< a id="HouseMenuNavLink53" href="http://www.dnncreative.com/Home/tabid/53/Default.aspx" title="DotNetNuke with DNN Creative Magazine, Web Design, Tutorials, Skinning, Module Reviews, Videos" tabindex="1" >Home< /a >< /li >


So, as  you can see we have to target the HTML elements that surround the ID. - so you may have to change this for version 1.4 - just check on the HTML elements and add them to the CSS

Hope this helps,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
mtarby
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:38

17 Jul 2008 2:32 PM  
Thanks Lee - once I messed around with it a bit, that worked perfectly!
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2318


17 Jul 2008 7:19 PM  
That's interesting. Does that mean that House menu displays the Home page, even if you've tried to remove it from the menu? Of ... did I miss something?

Joe Craig
DNN Creative Support
Subscribe to the website
mtarby
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:38

21 Jul 2008 7:10 AM  
Yes - I'd tried everything and it still displayed.  It wasn't until I added the lines to the css setting it  to display: none that it finally went away.
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Removing "Home" link on House Menu



ActiveForums 3.7

Latest Forum Posts

RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
Trouble installing! Designer trying to be a Developer. by awright14
Hi Everyone,Just to let you know, I'm very new at this - very new to any type of dev environments in...
Skim Question by tlsadler
I've been going over your videos on skinning and may have missed something somewhere.Can you use the...
Include in Menu - Weird Request by nichord
I have a request from a customer that has put me at odds.  The customer has a lot of child pages to ...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
I'm also having similar issues. While the .Normal helps most of it, the H1-H6 and the TITLEs for eac...
RE: Vertical SolpartMenu by y_knight
hi ... am new in DNN and i have installed Dnn and i work fine but i have 1 think to ask why i can n...
RE: Cannot view host filespace using text/html editor by NonStopMark
Hi Joe, The problem has gone away. May have been a caching issue. Thanks for posting. DNN : ht...
Firefox Does Not Display WMV File In Media Module by johnmk777
Hi All,I can't believe I am having such a hard time finding and answer to this question.  I have see...
advice wanted convert site to DNN while keeping existing asp functionality by max2o
I am running into the issue that a client wants to redesign their site and they want content managem...
RE: Site is not opening by leesykes
from the message it is referencing php - is it a dnn site? - is asp.net applied for the site?
RE: SolPart Menu Font Color Control by leesykes
Hello,I'm not aware of any documentation at the moment. But here is a list of Nav Menu PropertiesTo ...
Site is not opening by kaustav_kar
Hi,Whenever I'm writing the url (http://tajfood.com.sa) it's showing the following error; Index of ...
RE: SolPart Menu Font Color Control by cdees
 Lee, Is there documentation, or perhaps a tutotial on activating and using Nav menu?  Where would I...
RE: EasyCGI help? by Dr Joe
I found some interesting posts on some other sites that explain some of the challenges I've been exp...
RE: Menu's, menu's, and more menu's! by roadshow41
Thanks! I'm still a bit curious about some of the other options, but I think that gives me enough c...
RE: Menu's, menu's, and more menu's! by leesykes
Hello,Yes that should be possible with snapsis, I have used snapsis CSS with flyout menus on a horiz...
RE: Menu's, menu's, and more menu's! by roadshow41
I typically end up using a hybrid of a vertical menu and a horizontal menu due to the sheer number o...
DotNetNuke SEO (Search Engine Optimization) by leesykes
Hello,I regularly get asked for tips on SEO with DotNetNuke, there are several resources available o...
RE: Menu's, menu's, and more menu's! by leesykes
Hello,If you are looking for a menu for SEO reasons, any CSS based unordered list menu will be SEO f...
AppTheory
RSS Feeds