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, ...DNN:NAV and GoogleDNN:NAV and Google
Previous
 
Next
New Post
11/1/2006 3:01 AM
 

I tested the DNN:NAV menu with a user agent switcher to mimic Google and it doesn't render the menu very well. You only get the current tab with its children but not its siblings (which is not good IMHO). Anyone else having tested this?

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
11/1/2006 9:32 AM
 

DNN:Nav is the skin object that can use any underlying menu (solpart, dnnmenu, etc.).  I am not sure what menu is being used.  The way solpart and dnnmenu work is it uses the IsCrawler property exposed by asp.net to determine if it does downlevel rendering.  If so, then it will render the full menu.  To try it out go to http://webcontrols.dotnetnuke.com/dnnmenu.aspx and choose the IsCrawler checkbox.

It is possible that the useragent you are using is not detected by ASP.NET as a crawler. 

It is also possible that you have specified a different attribute to limit the nodes being populated.

By the way, what tool are you using to switch the useragents?


 
New Post
11/1/2006 12:10 PM
 
Jon Henning wrote

By the way, what tool are you using to switch the useragents?

I use a firefox add (http://chrispederick.com/work/useragentswitcher/) in with the following settings:

<useragent description="Google bot 2.1" useragent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" appname="Google bot 2.1" appversion="2.1" platform="Google" vendor="Google" vendorsub="Bot" />

And as I test site I used: http://www.ninasfreeskins.com/xdnnlight/home.aspx (thanks nina) and a local one of my own.

Peter

 


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
11/2/2006 9:43 AM
 
Thanks for the info.  I did a few quick tests and am seeing what you are, which appears to be a bug.  I will hopefully get to look at this later this week (or early next week).  

 
New Post
11/6/2006 2:31 PM
 

I have located the problem.  The fix will be included in the next major release (4.4). 

In case you don't want to wait until then, you can download the source for the webcontrols and modify this line in the DNNMenu\MenuNodeWriter.vb file

If objLastNode Is Nothing OrElse m_objNode.Selected OrElse objLastNode.ID = m_objNode.ID OrElse objLastNode.ID = strParentID Then

To

If objLastNode Is Nothing OrElse m_objNode.Selected OrElse objLastNode.ID = m_objNode.ID OrElse objLastNode.ID = strParentID OrElse Me.ForceFullMenu Then


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN:NAV and GoogleDNN:NAV and Google


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