Need
DNN Support
?
DeskPal.com
Learn DNN / DotNetNuke
Login
Subscribe to DNNCreative
Home
Subscribe
Training & Tutorials
Tutorials for Beginners
Tutorials for Administrators
Tutorials for Core Modules
Tutorials for Advanced Users
How to Build a Website in DotNetNuke
Skinning Tutorials
Module Development
Third Party Modules
Forum
Search
Search
Home
Subscribe
+
Training & Tutorials
Tutorials for Beginners
Tutorials for Administrators
Tutorials for Core Modules
Tutorials for Advanced Users
How to Build a Website in DotNetNuke
Skinning Tutorials
Module Development
Third Party Modules
Forum
You need to
Register
for free and
Login
to post a message in the forum.
Forum
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
DotNetNuke®
>
Modules
combining module types
Last Post 09/11/2010 4:13 AM by
Cheryl Bearden
. 6 Replies.
Sort:
Oldest First
Most Recent First
Check this box to subscribe to this topic.
Prev
Next
You are not authorized to post a reply.
Author
Messages
Cheryl Bearden
Nuke Newbie
Posts:2
09/07/2010 8:04 AM
Is it ok to create an authentication provider that also is a desktop module? I'm asking because we are building a Shibboleth authentication provider and also want to allow administrators the ability to map Shibboleth roles to DNN roles using a grid. This did not seem to work from the Settings page but when I also configured the module as a desktop module with view and edit forms, and added the grid there, it worked ok.
Joseph Craig
DNN MVP
Posts:11667
09/07/2010 5:59 PM
Take a look at how other Authentication Providers work. If what you need to do is simply part of the configuration of your provider, you probably don't need a module.
A more detailed explanation might help me understand.
Joe Craig,
Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667
09/07/2010 6:00 PM
Just to add a bit ... if your Authentication Provider can read the output of your module, there's no reason that you shouldn't do it this way.
Joe Craig,
Patapsco Research Group
Complete DNN Support
Cheryl Bearden
Nuke Newbie
Posts:3
09/08/2010 6:25 AM
Thanks very much for replying.
I have a module that does Shibboleth authentication that we are going to make Open Source since it is an authentication that the Universities are using. The Shibboleth authentication is working ok.
On the Settings.ascx control, along with allowing the admin user to update some general settings, I have added a Radgrid that will let the user select Shibboleth roles to be paired with existing DNN roles. Later in the authentication code, these Shibboleth roles will be mapped to the corresponding DNN roles. To display these role mappings I am using a RadGrid with an Edit Form where the user can update role mappings and insert new role mappings. There is also a delete command on the RadGrid (which works ok, the delete command doesn't use the Edit Form.)
I tested this Radgrid on a simple web page before bringing it into DNN just to get the Radgrid code working. The Insert, Update, and Delete all worked ok outside of DNN. But when I pulled the code into DNN, the Delete still works, but the Update and Insert event routines never fire from the Settings.ascx control.
So I also tried to configure the authentication provider as a Desktop Module with View and Edit forms and tested the RadGrid from the View and Edit controls and it works fine, with the DNN View control containing the RadGrid and the DNN Edit control containing the Edit form. RadGrid Events fire ok, from the View and Edit control instead of the Settings control.
So I was planning on making the Authentication provider a module also. But then, I haven't seen an example of combining a module with an Authentication provider in the Authentication providers I've looked at. But it seems to work. We are saving the role mappings in portal_settings.
Cheryl Bearden
Nuke Newbie
Posts:3
09/08/2010 4:08 PM
With more testing from the Settings.ascx control, I've found that any events from the Grid Edit form of the RadGrid are not fired. So it seems that from an Authentication Provider Settings control, you can only fire events from the Settings.ascx page itself, and not from a secondary user control like the RadGrid Edit form.
So, I'm hoping that it is ok to combine an Authentication provider with a desktop module so that I can still use the RadGrid.
Joseph Craig
DNN MVP
Posts:11667
09/08/2010 6:21 PM
As long as they share data, there shouldn't be a problem.
Joe Craig,
Patapsco Research Group
Complete DNN Support
Cheryl Bearden
Nuke Newbie
Posts:3
09/11/2010 4:13 AM
I saved table updates in portal_settings using PortalController.UpdatePortalSetting and the data was available both from the View control and on the Settings control. Thanks again.
You are not authorized to post a reply.
Special Bonuses
--Subscriber Bonuses
--Readers Offers
Users Lounge
--Announcements
--DNN Creative Articles
--Everything Else
--Feedback, Suggestions and More
--Membership
--Site Review Please!
--Testimonials
--Podcasts
DotNetNuke®
--DotNetNuke® Questions
--Modules
--Modules - What's needed?
--Quick Tips
Hosting
--DotNetNuke® Hosting Providers
Skinning Toolkit
--Skinning Toolkit
UK DotNetNuke User Group
Forums
>
DotNetNuke®
>
Modules
Latest Forum Posts
Can you Run Xcode in Linux?
by Aman Singh
Can you Run Xcode in Linux?
Can you Run Xcode in Linux?
by Aman Singh
Can you Run Xcode in Linux?
Billed for subscription that was canceled
by Ryan
I was just billed for a subscription that was canc eled / inactivetive how do I get a refund for th
Meta Title and Meta Description are not showing properly
by DNN User
Hi, On my site the meta title and meta descriptions are not showing properly. It's showing the m
Search is not functioning properly
by DNN User
Site: https://www.prv-engineering.co.uk/search If I search any item only the 1st option under sea
Search is not functioning properly
by DNN User
Site: https://www.prv-engineering.co.uk/search If I search any item only the 1st option under sea
DNN Platform import site optio
by Melanie Weaver
Is it possible to import site template in DNN Platform 8.0? We have internal Evoq Content 8.1 tha
Events Module for DNN V5?
by Tugboat
Would anyone have a download link for the version 5.0.3 Events Module? Thanks!
"Ghost" TabID Number?
by Tugboat
Hi! I have a portal instance with multiple child portals and on one of the child portals, there i
RE: DNN Load Testing
by ayman sharkawy
Hi. Have you already implemented a site using the DNN . And how the performance of the site and its
Publish All Pages
by NSUOK
I'm using DNN Evoq Content Basic 8.2.0. When I make the HTML Pro module display on all pages, I h
Simpler profile needed in 9.2.2
by Donald
We are upgrading a DNN 4.8.4 site to DNN 9.2.2. On 4.8.4, the top bar shows the user’s name. If yo
How to link from dnnmodal popup to web site page?
by Donald
Hello all. I am using a dnnmodal.show popup. The popup works correctly, showing the content that I
RE: Document Collaboration
by Nick Davern
That feature would be super beneficial for our needs as well! Does anyone have an update as to if th
RE: DNN 9.2, how to set default theme?
by Andy Stephenson DNN Creative
you do that under "Manage/Themes". Note the highlight blue border around the default container and d
DNN 9.2, how to set default theme?
by Donald
Please disregard, found Manage Themes I cannot find how to set a default portal theme in DNN 9.2
RE: Looking for DataSprings Dynamic Forms
by Andy Stephenson DNN Creative
Your best chance would be to contact Chad Nash @ http://www.datasprings.com/
Looking for DataSprings Dynamic Forms
by Jakir HM
Looking for DataSprings Dynamic Forms 3.4 for DNN 4.x 5.x for my site (https://themasters2018s.com/)
RE: Help with Cycle Image Carousel not displaying images
by peter
I had the same problem with the Will Strohl Content Slider after upgrading to DNN 9.1 The above an
RE: Object reference not set to an instance of an object
by Andy Stephenson DNN Creative
Check this one might be useful: http://www.dnnsoftware.com/answers/im-tryin-to-move-my-site-to-pr
Used
By
Testimonials