Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Repository Modu...  Where are images stored?
Previous Previous
 
Next Next
New Post 9/4/2008 7:37 AM
User is offline Jen
1 posts
10th Ranked


Where are images stored? 

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 7:33 AM
User is offline Steve Fabian
1498 posts
6th Ranked








Re: Where are images stored? 

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.


Steve Fabian
Gooddogs.com
Sit, Stay, Code ... Good boy!
 
New Post 9/12/2008 5:54 AM
User is offline Chad Gronbach
6 posts
10th Ranked


Re: Where are images stored? 

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 6:56 AM
User is offline Steve Fabian
1498 posts
6th Ranked








Re: Where are images stored? 

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.


Steve Fabian
Gooddogs.com
Sit, Stay, Code ... Good boy!
 
New Post 9/16/2008 3:14 PM
User is offline isnoface
31 posts
10th Ranked


Re: Where are images stored? 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Repository Modu...  Where are images stored?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP