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...Administration ...Administration ...Menu - Replace Arrow indicating ChildrenMenu - Replace Arrow indicating Children
Previous
 
Next
New Post
3/27/2008 11:32 PM
 

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.

 
New Post
3/28/2008 10:41 AM
 

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
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Menu - Replace Arrow indicating ChildrenMenu - Replace Arrow indicating Children


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