Products

Solutions

Resources

Partners

Community

About

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 ForumsRepositoryRepositoryFilelist Template - Display different icons based on file extensionFilelist Template - Display different icons based on file extension
Previous
 
Next
New Post
2/6/2007 11:11 AM
 

I am new to using the Repository module. I am using the filelist template and have been able to make some changes to the template. One thing I am having a little trouble figuring out is displaying different icons next to a file name based on the filenames extension? For example, whenever I add a pdf file to the repository, I would like the pdf icon to display to the left of the filename. I uploaded an image into my portal for pdf's but am having trouble getting it to display. Has anyone been able to do this and if so can you tell me what files I need to change and what tokens do I use?

Thank you.

Lara 

 
New Post
2/8/2007 12:36 AM
 

lkrefski...somewhere in these threads a person provided a zip file that contains about 20 various icons...including pdf, word, etc...everything you'll need.  The only thing you need to do is unzip them into your repository's Repository/Images/Icons folder...and assuming that the [FILEICON] token is in your template (as in the Filelist.html template), you should see the appropriate icon for most common file types.  I've sent the zip file to info@barenecessities for you.  Let us know if you have any problems making it work.  Good luck.

 
New Post
2/8/2007 9:52 AM
 

Yes, I found that thread. Thank you.

Lara

 

 
New Post
2/9/2007 10:54 AM
 

Can you send the link of the thread please ???

DV

 
New Post
2/9/2007 11:02 AM
 

Here is the link: http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/54/threadid/11693/scope/posts/Default.aspx

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryFilelist Template - Display different icons based on file extensionFilelist Template - Display different icons based on file extension


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