I am Currently working on DNN based website. I want to add new table for my custom module to keep record of login and registration info of profile. For that does anyone knows which fields are required for any table in DNN? I want to use database which I assigned at DNN installation. And how to retrieve data from table which I have created?
You should really go through the Module Development wiki for DNN, the Task Manager series will do you wonders for understanding DNN (ignore that it says it is for DNN5, it will work just fine for DNN7 as well)
http://www.dnnsoftware.com/wiki/page/module-development
There are no "fields" required by DNN when you add a table, as a developer you can choose what you want included.
Chris handled the table requirements, here is a little about accessing the database...
Using DAL2 to access your database in DNN is really easy. It helps you connect to the database and preform the CRUD operations. Follow the MyObject.cs and MyObjectRepository.cs model and you should be good to go.
for older dnn versions http://www.codeproject.com/Articles/12853/Creating-a-DotNetNuke-Module-For-Absolute-Beginner
Please check http://christoctemplate.codeplex.com/ for dnn 7+ module development
Besides Chris Hammond's tutorials and module template (IMHO, some of the best contributions ever to the DNN developer community), there are a couple of other extremely good tools to add to your DNN developer toolbox.
Mitchel Sellers' Professional DotNetNuke Module Programming book (http://www.amazon.com/Professional-DotNetNuke-Programming-Mitchel-Sellers/dp/0470171162)
Scott Wilkinson's series of tutorials on DNN Module Development DNN Hero. (www.dnnhero.com)
Note that neither of these are free, but are well worth having!
Agree with all above but for a quick example of how to use PetaPoco for your DAL, see this answer: https://stackoverflow.com/a/35749594/4574668
Related
I am a mid-level c#/.Net developer. I was asked to create a Dotnetnuke module. In your opinion, what is the best way to learn how to create modules? Is there a site/video/tutorial that is more beneficial than most? I will be using Dotnetnuke 8.**.
UPDATE
Since opinion based questions are not allowed then please just list places to learn how to create dotnetnuke modules.
My opinion may be slightly biased....
http://www.christoc.com/Tutorials/DNN8-Tutorials
Use my free Visual Studio project templates http://cjh.am/dnntemplates
Setup your local development environment as instructed in the videos (using http://dnndev.me/)
I have an account at http://www.dnncreative.com/ that has helped me a lot!!
We believe that developing in DNN has a few requirements you must adhere to, to ensure you're ready for the future. These requirements include:
avoid any kind of webforms-specific mechanism, as they are end of life and have been for quite a while now
use Razor for server side templating and JS for most logic - this ensure you're on current technologies and ready for .net core
use webapi for actions / data / state change
You can do this manually with a lot of plumbing using MVC modules, or do it 10x faster using 2sxc (check 2sxc.org).
Love from Switzerland,
Daniel
I want to build booking system for spa related website using drupal. Which are the good contributed modules please suggest.
Condtions:
Customer can book the spa with his details
Customer can cancel booked his spa
All records should be update in the system.
Most of that could be achieved in a default Drupal 7 installation I believe since the requirements/conditions are relatively basic.
Views goes without saying.
Date is pretty much essential for your purposes as it provides a nice date picking interface.
Link is useful if you have fields that need to link to nodes.
Panel for configuring layouts of pages.
Webform is great for making forms, definitely useful for a booking system.
Some more examples can be found here.
I am working on a project which contains the question with options and solution of that question. I want to display the Mats equations and some coding questions on webpage. So my query is what will the the procedure to insert those equation into Database and display it on my webpage.
for the reference I want to display like this following link :
http://www.indiabix.com/aptitude/compound-interest/
http://www.indiabix.com/c-programming/functions/
Thanks
Frankly speaking as far as I understood your problem you do not have Idea about coding (I may be wrong but as you are not suggesting any particular database and any technical stuff I'm assuming this.)
You can use prebuilt frameworks for this job you don't need to design application from scratch unless it is your some project.
Some suggested Links are this ...
Moodle
WordPress
You need to find plugin after installing these frameworks on your webserver bundle
For that you can use
WAMP on windows or LAMP if on Linux
But Again your question too general. Give some inputs first
Information About Moodle:
IF you go throught moodle webiste you will get to know that how powerful LMS( learning management system ).
You just need to know how to configure such websites
Go through this video tutorials if you want to
Infromation About WordPress:
Wordpress is general purpose Website so you can develop any service with it very easily and everything including database is taken care by it (same case with moodle but moodle is more focused on LMS )
You have to search for LMS plugin inside wordpress for your purpose.
KINDLY ACCEPT THIS ONE AS ANsWER if you find information usefule... (Points help me contribute more and allows me also to ask question)
I am using DNN 7.4.1 Community Edition and I would like to have a specific security role ("Editors") to have the ability to edit the content of every module, but not be able to edit the settings of every module. I know this SO question addresses this, but the answers are quite outdated and I would like to see if there is any more recent knowledge related to this issue.
I believe DotNetNuke Professional edition is now called, EVOQ Content, and due to the specificity of my issue, I would rather not upgrade for one little piece of additional functionality (also might not be an option financially). However, upgrading would seem to allow me to have more freedom over permissions.
As far as Oliver Hine's Enhanced Permission Provider for DotNetNuke, it hasn't been updated for several years. I have installed this extension, however it seems to add more headaches. As soon as it is installed, entire pages are no longer visible for any users other than the administrator role. Even after adjusting page permissions to allow "All Users" to "View Page", all of the modules are still not visible. After fumbling around with individual module permissions, certain modules were visible for certain users only after ALL permissions were granted to that role. This extension would be perfect if it worked as described (and without setting tons of individual module permissions).
So, is there any method other than the ones mentioned above that allow me to prevent the "Editors" role from accessing module settings, but still allowing them to edit the module content?
Thank you kindly
There is a slightly newer version on github which you might have better luck with. I haven't had the time to fully test it but it's an improvement over what's on codeplex.
https://github.com/ohine/Dnn.Enhanced-Permissions-Provider
If you still run into issues, contact me on my website and I'll get things fixed up.
Unfortunately my answer on that other post still stands as the current solution. Though Oliver might show up here and provide some insight.
This can be achieved with DotNetNuke Professional (EVOQ) edition using the
extended granular permissions.
How do I create a module for DotNetNuke v6 in Visual Studio 2010 which connects to a database, without using a DataSource control ?
I am a beginner in DotNetNuke and I want to fully understand how to create modules. I have referred Google and I found two links which I think are good, but I need a simple example that includes better comments and connects to the database without using a DataSource control.
Creating a DotNetNuke® Module - For Absolute Beginners!
Creating a Super-Fast and Super-Easy DotNetNuke® Module - for Absolute Beginners!
I welcome you to dotnetnuke, indeed it is a great CMS respectively the greatest CMS made with ASP.NET
I would suggest you basic module development video
And you can go through dotnetnuke official video training library clicking here
Please also have a look at dotnetnuke blog posts, I would suggest to go through Steve Fabians blog you might have a look at Peter Donker and Chris Hammond blogs too.
Last but not least you can have a look at unlimited resources for dotnetnuke at
dnncreative.com