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, ...How to change arrow pictures for Nav menuHow to change arrow pictures for Nav menu
Previous
 
Next
New Post
8/1/2007 8:21 AM
 

I need some help in changing the default arrows used to indicate curret navigation and if a root menu has any sub menu items. As far as I understand these images are as default being taken from <DNN install dir>\WebSite\images\ and are named breadcrumb.gif and menu_down.gif respectively.

I used DNN-Blue as base for my own skin and looking into the ascx file I saw this:

<

dnn:NAV runat="server" id="dnnNAV" ProviderName="DNNMenuNavigationProvider" ... NodeLeftHTMLBreadCrumbRoot="<img alt=&quot;*&quot; BORDER=&quot;0&quot; src=&quot;breadcrumb.gif&quot;/>" /></td>

 

This makes me able to replace the default "currently opened menu" arrow by placing a file with the name breadcrumb.gif in my own skin directory, thus overriding the default one. But how do I do the same with the arrow indicating sub menu items?

I searched alot for an answer about this and I also looked inside the "Nav.ascx.vb" file and it seems I should be able to pass an input parameter named "IndicateChildImageRoot" to the Nav, but I cannot get it to work. I've tried to add another parameter looking like ' IndicateChildImageRoot="[SKINPATH]dummy.gif" ' and also passing the complete path to my own image, but it doesn't work. Please tell me the correct syntax do change the images and also where to place it (in the .css/class or ascx ).

Also, If I want to hide theese two pictures in another skin, whats the syntax for that ?

Thank you in advance.

 
New Post
8/6/2007 5:59 AM
 

Shameless /bump as I really need help with this, please...

 

 
New Post
8/9/2007 2:44 PM
 
Sorry, I don't have any answers for you, but I have the same questions. Just chiming to maybe help catch the attention of someone with the answer and get notified of it.
 
New Post
8/9/2007 3:36 PM
 

Try using the inline style like this

IndicateChildImageRoot

="&lt;img src=&quot;dummy.gif&quot;&gt;"

 

I believe when you're using the menu inline styles, you need to write out <"img src=dummy.gif"> with the non-offensive characters like above.

Also, when you're trying to use the [SKINPATH]dummy.giv, you may want to try using <%=SkinPath%>dummy.gif

I hope that helps get you pointed in the right direction.  


Check out the open source DNN Testimonials project on CodePlex and help build it!
 
New Post
8/14/2007 3:43 AM
 

I must be stupid as I've tried several variations of the above but cannot get it to work.

I have tried the following syntax:

IndicateChildImageRoot="&lt;img src=&quot;arrow.gif&quot;&gt;"  

IndicateChildImageRoot="../[SKINPATH]arrow.gif"

IndicateChildImageRoot="<%=SkinPath%>arrow.gif"

IndicateChildImageRoot="<img alt=&quot;*&quot; BORDER=&quot;0&quot; src=&quot;arrow.gif&quot;/>"

Whenever I insert any of theese into my menu declaration row  (in the aspx file) the default white arrow (indicating a menu has submenus) dissapears, but it doesn't get replaced with my own arrow.gif as I want it to. I have verified that I have an "arrow.gif" in the same dir as all the other skin files so that's not the problem. Any more suggestions I could try ?

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change arrow pictures for Nav menuHow to change arrow pictures for Nav menu


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