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, ...TreeMenu ImagesTreeMenu Images
Previous
 
Next
New Post
11/21/2006 1:59 PM
 
I have been trying to style the TreeMenu to look much nicer than the default skins.

I had a look at the new documentations and it seems that I can do much more now. However, I am finding difficulty in the Images

At first I thought it is going to be a piece of cake and for example in my skin i did skin.xml

< Setting >
< Name>NodeClosedImage< /Name>
< Value>Tree_NodeClosedImage< /Value>
< /Setting>

which has the associated to skin.css

.Tree_NodeClosedImage{ background-image:url(Images/folderclosed.gif); background-repeat:no-repeat;}


However the control is still pointing to

http://localhost/DNN43/Admin/Skins/Tree_NodeExpandImage

Which is not good

< Value>< ![CDATA[ in Skin.xml, instead of the class did not work either


So I assume the images are hard coded to theAdmin/Skins/ folder so the value of the NodeCloseImage has to be directly the gif associated with it in the admin/ skin folder.

This is ok if there is only one DNN per install so one puts all the necessary images in there. But ideally one should be able to put it in the skin folder.

Any Ideas is very much appreciated. May be I have missed something.

Salar
 
New Post
11/26/2006 6:51 PM
 

I have also found the treeview elements not quite working as I had expected.

Interestingly enough, with the Catalook store, the treeview menu provider has been isolated allowing you to put in folder images - as part of the category image function, so it is possible, but it doesn't appear to be implemented in the skinning functionality as far as I can see.

We might need to ask Jon Henning to clarify some of these elements to pick up what we're missing.

Did you look at http://webcontrols.dotnetnuke.com there's information on there too.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
11/27/2006 11:15 AM
 

I mentioned in the other thread that the treeview skin object uses ResolveUrl, when it comes to these images.  This is the way it was originally coded, and the way it is today.   The only new feature added here was the ability to specify a different file name for these images.  Why it was coded this way I don't know, before my time on the project (skinning portions). 

Do I agree with the way it was coded? no. 

Why did I not change it when I went through the skinning cleanup? Mainly due to backwards compatibility concerns.  But also, there was so many changes I made at that time, this was not one that I knew about, and even if I did I probably would not have had time to.

Since an absolute url (those that are prefixed with / or ~/) are ignored by ResolveUrl, this appears to be the fix.  If there is some token that the skinning engine picks up that gives the skin path, then I would assume this would resolve your issue (you may need to prefix it with a / or ~/...   


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...TreeMenu ImagesTreeMenu Images


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