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 ForumsRepositoryRepositoryWhere are images stored?Where are images stored?
Previous
 
Next
New Post
9/4/2008 9:37 AM
 

I have added newsletters to our site and put the front page of each one as the image. 2 questions: 1. when I upload the image where is it being saved? 2. How can I add a link the the actual newsletter from the thumbnail? Thanks!

 
New Post
9/11/2008 9:33 AM
 

1. images are stored in the /Portal/#/Repository folder, where # is your PortalID

2. edit the form.xml file for the repository template you are using, for example if using the default template, edit /DesktopModules/Repository/templates/default/form.xml. Find the IMAGE token and add a setting named DOWNLOAD and set it's value to TRUE

btw. If you change the template files in the /DesktopModules/Repository/templates folder, it will affect ALL repositories on all portals. If you just want to change the behavior on a single portal without affecting other portals, you can do the following...

1. create a folder named /Portal/#/RepositoryTemplates, where # is your PortalID

2. copy the template folder from the DesktopModules tree, for example, to change the default template, copy the default folder to the new RepositoryTemplates folder, so you end up with /Portal/#/RepositoryTemplate/default. Then edit the files there, that way the change will only affect repository modules in that particular portal. Also, it's a good idea to do that so if you upgrade, your template mods will not be overwritten.

3. In the Repository module settings page, when you select a template, you can tell where the template is being loaded from, if there is an asterisk after the template name it's being loaded from the Portal tree, if not, it's being loaded from the DesktopModules tree.

 
New Post
9/12/2008 7:54 AM
 

Hi Steve,

Thanks for the reply on this I was also wondering how I could get the image click to downlaod the files.  My only problem is that the fix did not work.  Is there somethign we need to re-start or get the module to reload somehow?  Below is what I changed my image token to.  Is it correct?  Thanks.

Chad.

<Object>
  <Token>[IMAGE]</Token>
                   <Settings>
   <Setting>
    <Name>DOWNLOAD</Name>
    <Value>True</Value>
   </Setting>
  </Settings>

 </Object>
 

 
New Post
9/12/2008 8:56 AM
 

Hi Chad,
Sorry, that was my fault, the tokens and value are case=sensitive and the Value should be true ( all lower case )

Also, just keep in mind, the IMAGE download function respects the download roles, so if you set up your repository to only allow downloads by specific roles, only those who are authorized to download will be able to click on the IMAGE and download the file.

 
New Post
9/16/2008 5:14 PM
 

Hmmm....I tried this out Steve and it's still not working. I eddited the Dotnetnuke\DesktopModules\Repository\Templates\default\form.xml file with the following code.

<Object>
  <Token>[IMAGE]</Token>
                 <Settings>
   <Setting>
    <Name>DOWNLOAD</Name>
    <Value>true</Value>
   </Setting>
  </Settings>
 </Object>

I am using the default template. Am I missing something?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryWhere are images stored?Where are images stored?


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