Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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, ...House Menu selected itemHouse Menu selected item
Previous
 
Next
New Post
3/27/2008 8:36 AM
 

I am having an issue with the House Menu not setting either an ID or class for the selected item in the menu.  It basically renders like this all the time:

 

<ul id="tabs8">
<li id="tabs8ItemHome"><a href="http://localhost/blah" title="Home">Home</a></li>
<li id="tabs8Item117"><a id="tabs8Link117" href="http://localhost/blah/AboutUs/OurCompany/tabid/118/Default.aspx" title="About Us" tabindex="1">About Us</a></li>
</ul>
Only way I see around it is to insert one via javascript, but that is a pain and not dynamic for the user.
 
 
New Post
3/27/2008 11:00 AM
 

Actually HouseMenu sets an id tag for current link.

So just set currentlink css and your set.

For example I have

CssElementId = "HouseMenuNav"

in my CSS I have

#HouseMenuNavCurrentLink
{
insert styling
}

That will style the currently selected menu item. NOTE: It will not style the Home tab/page.

You have to do #HouseMenuNavItemHome for that, this is a bit of a problem though cause the styling remains the same on the Home tab as its a set id. To work around this create a second html file for Home page, and set the CssElement to HouseMenuNavHome or whatever naming convention you want, then set #HouseMenuNavHomeItemHome style. Then just set your home tab / page to have the Home version of your skin. This way when our users are on Home it will display the selected styling you want, but when they travel to the other tabs/pages the HouseMenuNavCurrentLink will take over.

 

 
New Post
3/28/2008 5:05 PM
 

keeperofstars wrote

NOTE: It will not style the Home tab/page.

It will if you set the portals home page to "none" in the site settings

 
New Post
3/31/2008 9:34 AM
 

just a side question if you don't set a home page does the site just default to lowest tab, for a new user / login?

 
New Post
7/12/2008 1:10 AM
 

Timo Breumelhof wrote

 keeperofstars wrote

NOTE: It will not style the Home tab/page.

 

It will if you set the portals home page to "none" in the site settings

This appears to be a very clever workaround to a vexing problem - thanks Timo.  So does setting the Home page to <none selected> affect anything else in a DNN portal?  The manual says:

Set any page as the Home page of this portal.  This setting also sets the page users are taken to when they click on the logo. If a Home page is not set, the page located on the far left or top of the menu will be the default home page.

So it doesn't sound as if it hurts anything.  Nice work.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...House Menu selected itemHouse Menu selected item


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out