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 ForumsRepositoryRepositoryAny way to have external links to Repository documents?Any way to have external links to Repository documents?
Previous
 
Next
New Post
5/5/2009 6:24 AM
 

I am trying to do the same as above (link directly to a repository document).

I have read the posts, but still don't understand how to find the link for any document inside the repository.

I have just upgraded my repository to 03.01.15 (DNN 04.05.05)

I can't see any URLCONTROLFILE token in the repository files (or is this something which we just type in - e.g. to the templates/default/form.aspx file?).

p.s. - I am not concerned about counting number of downloads.

regards,
mark.

 

 
New Post
5/6/2009 11:50 AM
 

the [URLCONTROLFILE] token is a direct replacement option for the [FILE] token in your form.html template files

[FILE] will render a Repository Upload control which allows the user to upload a new file to the server. It also mangles the filename, inserting a Guid between the filename and the extension which allows files with the same name to be uploaded and not overwrite an existing file. It also provides a small measure of security as the resulting filename on the web server will be impossible to guess.

[URLCONTROLFILE] will render a Core UrlControl, which allows a user to upload a new file, select an existing file from the web server, or enter a URL for the item. The filename is not changed and the user can elect which web folder to write the file to

So, if you want to take advantage of the Core UrlControl and it's options, just edit your form.html file and replace [FILE] with [URLCONTROLFILE]

Similarly, you can replace [IMAGE] with [URLCONTROLIMAGE] to use a Core UrlControl for Image uploads

 
New Post
3/16/2012 5:53 PM
 

Hello, I was reading in some other thread that there is a problem with running the urlcontrolfile under DNN 6.

Would like to give some feedback.

Well I installed the beta patch and file uploads work good.  However, there one issue were trying to do an External URL Link.  When clicking on the radio button to do the external link, there is a quick refresh and then the radio control forces back to the "local file" option.

 thanks.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAny way to have external links to Repository documents?Any way to have external links to Repository documents?


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