Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Menu - Replace Arrow indicating Children
Previous Previous
 
Next Next
New Post 3/27/2008 9:32 PM
Resolved
User is offline Paul Hermans
31 posts
www.benemtech.com
10th Ranked


Menu - Replace Arrow indicating Children 

Hi all,

I am trying to use the menu provided in 4.8.2  and it works fine for everything except that I can not figure out how to simply replace the image used to indicate that a root level menu item has children.  I have read many posts, but none seem to work or specifically show how to do this.

There appears to be not useful documentation for the menu....the only one I found essentially dove into the theory of it all, and a comparison with solpartmenu (with which I am totally unfamiliar) but had absolutely no useful documentation of what properties were or how to use them.

Thanks for any advice

Paul H.

 1 Reports
New Post 3/28/2008 8:41 AM
User is offline Paul Hermans
31 posts
www.benemtech.com
10th Ranked


Re: Menu - Replace Arrow indicating Children 

Me again,

I finally figure it out and thought I would share what I found.  I don't really understand why it works, but it does...

There are two properties of the dnn:Nav control that seem to matter:

1) IndicateChildren = true if you want to see any kind of indication that a menu item has children, false if you don't

2) IndicateChildImageRoot - allow us to specify the name of the image to be used for root level menu items that have children.

The problem was that I couldn't figure out how to tell the control WHERE to find the image....I tried using:

IndicateChildImageRoot="<% SKINPATH %> <%SkinPath%>menu_down.gif"

but that didn't work, instead I got no arrow at all.  When I viewed the rendered HTML I found that the <span> tag had an inline style applied and it looked in a location other than my skin for the image...found none and essentiall failed. 

On a whim, I set the property as follows:

IndicateChildImageRoot="[SKINPATH]menu_down.gif"

This suddenly worked.

I don't really know why I had to use the token [SKINPATH] in an .ASCX file but it worked.

If anyone can explain, I'd love to understand this.

Paul H.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Menu - Replace Arrow indicating Children
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP