Products

Solutions

Resources

Partners

Community

About

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 ForumsRepositoryRepositoryRepository 3.01.14 Release Candidate posted for testingRepository 3.01.14 Release Candidate posted for testing
Previous
 
Next
New Post
11/14/2007 2:15 PM
 

Question...

 

 

-- Added support for 2 new token tags in FORM.HTML

   [URLCONTROLFILE] and [URLCONTROLIMAGE]
  
   Using [URLCONTROLFILE] in your FORM.HTML file instead of [FILE] will
   use a DotNetNuke URLControl to enable you to upload a file or Select
   an existing file from the file system.

   Using [URLCONTROLIMAGE] in your FORM.HTML file instead of [IMAGE]
   will allow you to upload a new image or select an existing image
   from the file system

Is it possible to use both, [URLCONTROLFILE] and [FILE] ???
Thanks,

DV

 
New Post
11/16/2007 4:16 PM
 

A new release candidate has been posted for download at
http://www.gooddogs.com/dotnetnuke/Downloads/tabid/57/Default.aspx

=======================================================================
03.01.14 RC4 Build 26327
Released 11.16.2007
=======================================================================

-- Fixed the issues with navigating to an item with a PERMALINK URL, and
   then changing categories or trying to rate/comment on an item. All
   is working properly now and works as expected.
-- Added the abiltity to localize the default text in form.html file
   for Summary and Description fields. Before, you could add a Setting to
   the form.xml file for the [SUMMARY] or [DESCRIPTION] tokens, named
   Deafult and set the Text value to some text.
   You can now enter a localiztion tag and the text will be retrieved
   from the local resource file for the current language.
   for example:
   <Object>
      <Token>[SUMMARY]</Token>
      <Settings>
         <Setting>
            <Name>Default</Name>
            <Value>[ArticleSummary.Text]</Value>
         </Setting>
      </Settings>
   </Object>
   At runtime, for a new Repository upload, it will retrieve the text
   from the local resource file ( located in the template's
   App_LocalResources folder from the form.ascx.resx file )
   looking for the ArticleSummary.Text key.
   NOTE: The key can be anything, you just need to add a key to your
   local resource file then add the same key to your form.xml file.
-- Changed the default height for Summary text editors from 100px 
   to 150px
 
New Post
11/16/2007 4:18 PM
 

no you cannot, a repository data item only has one data column for the filename, both controls place the name of the uploaded file into that data column, so while techincally you could put both a [URLCONTROLFILE] token and a [FILE] token on a form, when the form is submitted the second control will overwrite the file from the first one.

 
New Post
11/17/2007 2:21 AM
 

Steve Fabian wrote

no you cannot, a repository data item only has one data column for the filename, both controls place the name of the uploaded file into that data column, so while techincally you could put both a [URLCONTROLFILE] token and a [FILE] token on a form, when the form is submitted the second control will overwrite the file from the first one.

What I mean is: possibility to be able to:
- either taking a file from an existing location on the web
- or uploading the file
To give this possibility in the form, i.e. to be able to choose either to upload or to choose a file.
Is this possible ???

DV

 
New Post
11/17/2007 7:58 AM
 

that's what the [URLCONTROLFILE] token allows you to do. it places a DNN UrlControl on the page which allows you to upload a new file, or select an existing file on the site, or enter a URL instead of a file.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryRepository 3.01.14 Release Candidate posted for testingRepository 3.01.14 Release Candidate posted for testing


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