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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Image Upload ControlDNN Image Upload Control
Previous
 
Next
New Post
6/24/2008 12:15 AM
 

Charles Nurse We Need Your Help! I have thought alot about your documentation on creating new editor controls and have a question before I begin. Do you recommend having an image upload control in the profile property editor? The chart below shows your organization structure of the editor controls and need some advice on how to implement a new image upload control in the profile property editor.

EditControls.png

Where in the organizational chart would you implement the image upload control in the profile property editor? Where do you recommend storing the settings of the new image upload control?

 
New Post
6/24/2008 5:19 PM
 

My answer to this is that it depends on how you intend to store the reference to the file.

If you are using the File Upload for a user's image for example, you could build an upload control that inherits from the TextEditControl, and the Value would be the URL - then in "View" mode the image wouldbe displayed.

Alternatively, if you use the DNN File/Folder API and store the file info in the database, you could save the FileID, which would mean you should inherit from the IntegerEditControl.


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
6/28/2008 9:22 PM
 

Charles Nurse recently announced a Module Toolkit at http://www.codeplex.com/dnnModuleToolkit that includes a file upload control and image upload control that are built as add-on datatypes to the core profile property editor.

How-do-you-install the DotNetNuke Module Toolkit? Are there any step-by-step instructions for extracting, moving, compiling and uploading the files of the toolkit to an existing DNN Website?

These are all questions that I hope will be answered soon so I can put together instructions on adding an image and file upload control as two new datatypes to the user's profile.

 
New Post
6/29/2008 11:54 AM
 

I have been looking for a DotNetNuke Image Upload Control for some time, maybe a year or more. I am not a developer - more Host/Admin user - but I welcome any activity involving image upload control testing, documentation, deployment. Please, let me help.

I particularly use Andrew Nurse's Reports Module, along with snippets of SQL, to pull and render User Profile data. I'd like to store at least a single image with each user profile, and using Reports Module, display that image, along with other User Profile data.


If a problem can be solved, there's no use worrying about it.
If it can't be solved, worrying will do no good.
 
New Post
6/29/2008 5:00 PM
 

It took me awhile to figure out how to build the DNN Module Toolkit and then upload the project's bin files (e.g. DotNetNuke.ModuleToolkit.dll) to my website's bin folder and basically added a new datatype to the Host --> Lists --> Datatypes menutree.

The object qualifier name for the new datatype entry I used was DotNetNuke.ModuleToolkit.Controls.ImageEditControl, DotNetNuke.ModuleToolkit

I can't seem to figure out why the ImageEditControl and the FileEditControl always defaults to Normal View Mode rather than File Upload View Mode. Notice how there is no upload command.

Folder
 
File

Also, everytime I go to select an image from the file dropdownlist I get the following error message:

A critical error has occurred.
Object reference not set to an instance of an object.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Image Upload ControlDNN Image Upload Control


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