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, ...DNNMenuNavigationProvider not displaying classesDNNMenuNavigationProvider not displaying classes
Previous
 
Next
New Post
8/24/2010 7:04 AM
 
Hi,

I'm using the latest DNN community edition (5.05) and I'm displaying the root elements of a menu using the DNNMenuNavigationProvider, but the menu item class names (e.g. .root, .first. last, .m) aren't appearing in the html when the menu is rendered.  I've have a similar set-up before on an older DNN installation (5.02 I think) and the class names are automatically appearing.

Is there another attribute I need to define?  Can anyone see where I'm going wrong?

<div id="navbar">
            <!--
            <span class="nav_button">
                <a href="">test button</a>
            </span>
            -->
                <dnn:NAV runat="server"
                         id="dnnNAV"
                         ProviderName="DNNMenuNavigationProvider"
                         PopulateNodesFromClient="false" 
                         IndicateChildren="false" 
                         Level="Root" 
                         ControlOrientation="Vertical" 
                        ControlAlignment="Center" 
                        CssControl="MainMenu"
             
                     >
      
                </dnn:NAV>
 </div>

Rendered HTML:

<div id="navbar">
<div>

<ul id="dnn_dnnNAV_ctldnnNAV" >

<li id="dnn_dnnNAV_ctldnnNAVctr40"><a href="http://localhost/Home.aspx"><span>Home</span></a></li>
<li id="dnn_dnnNAV_ctldnnNAVctr82"><a href="http://localhost/aboutus.aspx"><span>about us</span></a></li>
<li id="dnn_dnnNAV_ctldnnNAVctr86"><a href="http://localhost/donations.aspx"><span>donations</span></a></li>
<li id="dnn_dnnNAV_ctldnnNAVctr83"><a href="http://localhost/charitysingle.aspx"><span>charity single</span></a></li>
<li id="dnn_dnnNAV_ctldnnNAVctr84"><a href="http://localhost/marketstall.aspx"><span>market stall</span></a></li>
</ul>

</div>

</div>


 
New Post
8/24/2010 8:13 AM
 
I think my issue is to do with ASP.net not detecting the correct browser version and is related to this post:

http://local.dotnetnuke.com/Community...

Has anyone encountered the same problem and found a solution?
 
New Post
8/24/2010 8:26 AM
 
I just did a test and I do see them in Minimal Extropy and my Nav Menu demo skins http://dnnskinextensions.codeplex.com...
 
New Post
8/24/2010 12:01 PM
 
Thanks Timo, but I think I've found the issue.

About 20 mins ago I found another thread in this forum and echo1's response resolved my issue.

I have problems if I view the DNN site and the site I've created in DNN 5.05 using my Firefox browser (v3.6.8) , but it appears correctly in IE and Chrome.  I've now added <browser contains="Mozilla" /> to several sections of the js/ClientAPICaps.config file as echo1 advises and my site can now detect my Firefox version and renders the site correctly.

It appears that Mozilla changed the user agent string for Firefox at some point and this new string hasn't been added to the ClientAPICaps.config file, so DNN performs a "ForceDownLevel" on any menus in the site.

 
New Post
8/24/2010 12:50 PM
 
Have you tried my dnn:NAV replacement? It emulates the standard menu, but doesn't use browser sniffing.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNNMenuNavigationProvider not displaying classesDNNMenuNavigationProvider not displaying classes


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