| |
|
|
|
|
|
|
|
|
|
 |    |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
|
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.

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?
|
|
|
|
 |  |
|
|
|
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 DotNetNuke Trustee, Senior Architect, DotNetNuke Coporation
|
MVP (ASP.NET) and
ASPInsiders Member
|
See my Blog for Articles on .NET, DNN and Module Development
 |
|
|
|
|
 |  |
|
|
|
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.
|
|
|
|
 |  |
|
|
|
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." |
|
|
|
 |  |
|
|
|
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. |
|
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|  |
| |
 |
|
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.
|
| |
 |
|
|
|
|
Get Smarter Mail, SmarterStats, SmarterTickets Windows mail server, web log analytics, and customer service management software - Free Editions Available! www.smartertools.com
|
DotNetNuke Modules, Skins, Training and Consulting If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide. www.developedsolutions.com.au
|
Venexus, Inc. Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget. www.venexus.com
|
|
|
|