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...can I create custom table, submission  forms and codecan I create custom table, submission forms and code
Previous
 
Next
New Post
2/2/2012 10:48 PM
 

Hi guys,

I am pretty new to DotNetNuke but I have very good experice with php, html, js, C and C++

I have a small doubt before I begin developing with dotnetnuke..

I have seen the dotnetnuke homepage on my local server and I have a couple of basic questions..

1) can I include javascript code on my pages

2) Can I create some custom database tables and insert data from forms that I create and filled by the users ?

3) Can I have two types of users and identify them to give access to the pages??

It would help me a lot if you could give tell me where to find the proper resources and start my development..

I hope its a easy ride...

 
New Post
2/3/2012 3:33 AM
 
Hi and welcome to DotNetNuke!

"Yes" to all three questions.

1)  You can add JS to module headers and footers with no problem. Just be aware that scripts are removed by default in the editors in current versions of DNN but you can switch this feature off via the Host > HTML Editor Manager (untick Remove Scripts under Content Filters).

2) I'm not an expert on this apart from knowing it is can be done, so will leave this to others.

3) You can create Security Roles (Admin > Security Roles) and allocate users to them in order to control access via page (Pages > Page Settings > Permissions tab) and module permissions (Manage > Settings > Permissions tab).

I would check out the Resources section on this site (see the red menu bar above), download the SuperUser manual and visit the Videos and Wiki sections.

Hope that helps!
 
New Post
2/3/2012 4:25 AM
 
  1. You may use JavaScript in HTML content of modules (Host only), by using Widgets or in your custom modules. DNN includes JQuery and JQuery UI to make this even easier. Modules are usually created as Web Forms Controls (ascx) in any .Net language or as Web Page using Razor and the DNN RazorHost module (requires running on .Net 4)
  2. Your module may create custom table in the database, there are a couple of templates for Visual Studio (using VB and C#), which cover the data access layer and the database script as well. Besides, there are flexible forms modules available like free Forms and List and multilingual Helferlein Form.
  3. By using user roles, you may create any groups of users and grant permissions to them for
    • Pages
    • Modules on pages
    • Folders for files
    • Module definitions (deploy)
    DotNetNuke Community Edition provides permissions for View and Edit, while Professional Edition and 3rd party providers (like the free one from www.oliverhine.com) provide more granular permissions.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/3/2012 5:19 AM
 

hi..

thank you so much for the replies..

My scenario is like this.. I upload a pic (I save it using my userid_xxx.jpg). My moderator says only user X can see it. Now, I have to give permissions only to User X on this picture.. So, how can I use group permissions ? Is there any specific thing like individual permissions ? (or as sebastian said, only granular permissions is the only way ?)

 
New Post
2/8/2012 2:27 AM
 

HI Sebastian,

thank you so much for ur reply..

I have set up the visual studio for development but couldnt view the videos on module development by chris hammond because they cost $900 !!

Anyhow,

I have created a form using forms and lists module u have suggested. How can we customize the actions after submission ? I mean I want to update send a email to administrator saying the form has been updated and I would like to update some custom tables etc.,

also, regarding the permissions, I would like to know if we can give permissions to specific users and not for a group of users ???

It would be great if you could tell me how to learn razor script for DNN. 

Once again thank you so much for your time. Looking forward to ur answer..

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...can I create custom table, submission  forms and codecan I create custom table, submission forms and code


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