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 ForumsRepositoryRepositoryWrap filename with download linkWrap filename with download link
Previous
 
Next
New Post
3/14/2012 1:27 PM
 
I'd like the user to click the file name to download instead of using the [DOWNLOAD] token.  I've been using A HREF with the FILEURL but that is giving the user the full unique file name instead of hte proper name.  Any idea?
 
New Post
3/15/2012 12:19 PM
 
Alternatively, can I change the "DownloadButton.Text" to be the [TITLE] token instead of "- DOWNLOAD" , that will effectively accomplish the same goal.  Any idea how to do this?
 
New Post
4/1/2012 9:52 AM
 

you can add a DOWNLOAD setting to the [TITLE] token in the template.xml file and set it's value to true

then when the user clicks on the Title, the file will be downloaded


 
New Post
4/10/2012 10:31 AM
 

That doesn't seem to work for me.  I'm running v3.5.6.  This is what my TITLE token inside the template.xml file now looks like.  Did I get something wrong?  Not sure if it was case sensitive, I tried both Download and DOWNLOAD as the name.

<Object>
  <Token>[TITLE]</Token>
  <Settings>
   <Setting>
    <Name>CssClass</Name>
    <Value>SubHead</Value>
   </Setting>
   <Setting>
    <Name>DOWNLOAD</Name>
    <Value>True</Value>
   </Setting>
  </Settings>
 </Object>

 
New Post
4/10/2012 2:36 PM
 

:)  it IS case-sensitive, but for both the name and the value
This should work (lower case 'true')

<Object>
  <Token>[TITLE]</Token>
  <Settings>
   <Setting>
    <Name>CssClass</Name>
    <Value>SubHead</Value>
   </Setting>
   <Setting>
    <Name>DOWNLOAD</Name>
    <Value>true</Value>
   </Setting>
  </Settings>
 </Object> 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryWrap filename with download linkWrap filename with download link


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