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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDashboard Tree View Not Showing Folder Icon in DNN 5.2.2Dashboard Tree View Not Showing Folder Icon in DNN 5.2.2
Previous
 
Next
New Post
2/4/2010 6:47 PM
 

I have repository version 3.1.15 installed on a DNN 5.2.2 site and I am using the [TREE] in the dashboard.index.html template.  The TreeView is working, but it is not loading the folder.gif image.  I inspected the code with Firebug and it appears that the TREE control is not even loading the folder image. 

The minimize and maximize buttons are functioning properly.

Does anyone have any suggestions for brining the folder icon back in the tree view control?

Thanks in advance.

 
New Post
2/19/2010 2:23 PM
Accepted Answer 

I thought I would post a quick update on how I was able to "fix" this issue using CSS attribute selectors.  I was unable to figure out why the folders for this particular Tree Menu was working, so I began to search for a way to add the folder images using CSS targeted at the spans that contained my categories.  I was unsuccessful until I read this article at CSS-Tricks.  Thank you so much to Chris Coyier for writing about this CSS technique!

In order to add the folder icons, I used Firebug to look at the span ID's that were generated for my Categories in the tree.  I noticed that there was a section of the ID on the category spans that was consistent in all of them.  This was "Categoriest".  I then created my rule to target the category spans and added the folder icon as a background.

Here is the attribute selector I used:  .DNNTree span[id*=Categoriest] { }

While this solution does not answer the question of why the folders are not showing in the repository Dashboard in DNN5, this CSS fix will work for now.

 
New Post
9/20/2010 1:28 PM
 
Hi davidcfox, Thanks for your insight. I'm with some problem and your tip already helped me a lot. I wonder if you could share the css pieces that you used to achieve the folders-tree aspect. I wonder how one can indify and differentiate the selected item. Thanks a lot, Ricardo
 
New Post
9/21/2010 10:29 AM
 
Ricardo,
I am glad this technique helped you.  Here is my CSS:
.DNNTree span[id*="Categoriest"] {
background:url("/images/folder.gif") no-repeat scroll left center transparent;
font-size:9pt;
font-weight:bold;
padding:2px 0 2px 20px;
}
.DNNTree span:hover {
color:#4E4E4E;
}
 
You may need to rely on some jQuery or javascript to create a class for the folder you click on if you want to style the selected/current folder. I did not see any indicator in the code generated to easily target it with CSS.
 
New Post
3/21/2011 11:33 AM
 
HI David

Can you walk me through what files to modify in order to get this tree view with folder icon to work both of the dashboard and the upload form ?

thanks
Ariel
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDashboard Tree View Not Showing Folder Icon in DNN 5.2.2Dashboard Tree View Not Showing Folder Icon in DNN 5.2.2


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