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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Database FunctionDatabase Function
Previous
 
Next
New Post
2/8/2011 5:01 AM
 
I'm on it!  Thanks.
 
New Post
2/8/2011 12:38 PM
 
After reading through the 5.1.2 Form and List manual it seems to lack some features that I need.  For example, there doesn't seem to be a way to input values from forms. I'd like to present a form to the user and then have the choices made from from a drop down list, a check box or  a radio button go into the table.  And there doesn't appear to be any logic availabe in the display of the stored data.  For example, suppose the input form says :

                           Were you ever convicted of a crime?  o Yes     o No

                           If yes, when? 

In displaying this information I need some logic that knows not to print the "When" field if the answer to the convicted question was No.

It doesn't seem that the Form and List module is going to help me with these issues.   Am I right?

Thanks
Steve
 
New Post
2/9/2011 11:58 AM
 
I was a bit confused on this too. The form and list module is one way to do it. The other way, if you are proficient in .Net is to create a custom module using the DNN starter Kit. It automatically creates a data access layer where you can add a new table and associated UI interface. Kind of overkill for something simple but works OK for complex applications.
 
New Post
2/9/2011 1:59 PM
 
The form and list module is one way to do it.

  Actually, that's the problem.  The form and list module is NOT one way to do it because it doesn't seem to be able to accept input from form input controls and it doesn't seem to be able to apply logic when the database data is displayed.

You suggested building my own DNN module - if I'm proficient at .NET.  I am proficient at .NET , but from what I've read it takes a lot more than that create a DNN module that fits seamlessly into the DNN package.

What are we doing here?!  This form and display function that I want would be a piece of cake with PHP and MySQL, using nothing more than standard HTML and some easy PHP and database commands.  It's only difficult because I'm trying to do it from inside DNN.  The temptation is to ditch DNN and go do it from a PHP/MySQL site.  Most of the other functions that are available in  DNN modules,  like slide shows and FAQs,  are available there too as jQuery modules.

If not seeing something correctly, please straighten me out.

Steve




 
New Post
2/10/2011 4:25 AM
 
Not sure why you feel that dnn modules are that complex you can build a wsp based dnn hello world module with about 10 lines of code - and thats a module thats fully compliant with the dnn module core - though may need a couple more line to include import/export or search = say another 10 or 15 lines.

You dont even need visual studio installed - it could be done with just a text editor.

ascx markup code

==============================
<%@ Control CodeFile="MyModule.ascx.vb" Language="vb" AutoEventWireup="false" Explicit="true" Inherits="Mymodules.Test.TestModule"  %>


ascx.vb code

==============================
Namespace Mymodules.Test
Partial Class TestModule
Inherits DotNetNuke.Entities.Modules.PortalModuleBase
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
MyLabel.text = "Hello World"
End Sub
End Class
End Namespace
====================

Put those two files in a folder in DesktopModules
And create a module in the Host -> Modules area and at MyModule.ascx as the control

All done a fully working and functional DNN module that could be placed on any page.

Westa
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Database FunctionDatabase Function


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