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  |  

Maximum ASP
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
 


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.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

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