You need to Register for free and Login to post a message in the forum.

Forum

Subject: Add Module When Role Does NOT exist?
Prev Next
You are not authorized to post a reply.

Author Messages
John
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:34

01 Jul 2009 9:26 AM  
Hi everyone,

I was wondering if anyone had figured out a way to display a module based on when a role does not exist.  I have over 40 pages where information will display based on a given role (1 different role for each page).  So, if they have the role, the module containing the information shows up.  However, I want a text/html module to show up when the role does NOT exist that will inform the user how to gain access to the information on that page.

Another approach would be to hide this text module if the role does exists.  Either approach would work fine for me. 

I do not want to create an additional 40 roles just for this text/html module because we are doing some programming to control these roles and the overhead of an additional 40 would not be worth the effort.

Can anyone help me out with this?  It seems like there should be a way to do this.
Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5307


01 Jul 2009 5:07 PM  
For this I use Ventrian.com subscription tools, you can specify content for a security role, and a generic message for any other security roles or unauthenticated users.

DNN 5.1 has this functionaility built in - in the view permissions for a module, keep clicking on the view permissions and you will see the options rotate between the 3 options available.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
John
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:34

02 Jul 2009 8:02 AM  
Thanks for the information Lee.

I will check out that site.  I am not ready to move to DNN 5 at this time, but I will keep that in mind.

If anyone else has any ideas, please let me know.

Thanks again,

John
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Add Module When Role Does NOT exist?



ActiveForums 3.7

Latest Forum Posts

DNN with Javascript Disabled by aptrivedi
Hi All,I have found my self in bit of trouble.As per my application requriement, i need to handle th...
RE: Change Registration Redirect? by ollep
Well, that sounds good Lee.But I just spent $150.00 and a few days learning the Dynamic Forms  - bec...
RE: Folder permissions by Kazi
Hello FW, The easiest way to set permissions is your control panel, Log in to your CP, click on y...
Folder permissions by saintX
Hello, Can I set the folder permissions on the remote server myself using DW or WVD? If possi...
RE: How to do links? by Guy..L
It's really hard to tell quite how awesome DNN Nav v2 is given the documentation and search results ...
Regarding Editor by prithviraj
Pls let me know whar folders we need to upload when we are changing editors. Suppose i have cute edi...
RE: Change Registration Redirect? by leesykes
It would be best to use Dynamic Registration to avoid 2 registrations.With Dynamic Registration you ...
Indexing DNN pages by Google by Jake Vizner
I have two different DNN web sites. Using Google Webmaster Tools I can see the Google indexed 12 out...
Query Regarding RAD EDitor by prithviraj
Hi, I'm using R.A.D editor in my site. At the time of adding images through the editor I'm unabl...
RE: while installing bulk emailer module in my website by jncraig
Yes, this definitely is a file permissions issue. The default ASP.NET worker task needs to have ful...
RE: Background Music by jncraig
That will work.
RE: Auto create pages and content by dhassall
Hi Joe DNN Out of the box version 4.9 Login as Host with Firefox to create and IE8 to monitor, CTR...
RE: while installing bulk emailer module in my website by dub
Agiline, We have seen this problem before. It is caused by the Security on IIS. Please have a loo...
RE: Change Registration Redirect? by ollep
Probably still want to do it with Dynamic Forms now.My reason for changing (except from getting Aweb...
RE: Change Registration Redirect? by ollep
YES!http://www.dnncreative.com/Subscribe/tabid/81/Default.aspx
RE: Change Registration Redirect? by ollep
Yes I noticed that we where talking about 2 different Modules as soon as I dug into the tutorials.Ab...
RE: Change Registration Redirect? by leesykes
If you are check out the links that I have placed in there:http://www.dnncreative.com/Subscribe/tabi...
RE: Change Registration Redirect? by leesykes
Are you referring to when subscribing there is a link to register and after they register it sends t...
RE: Change Registration Redirect? by leesykes
The method I use on here for managing my email list is complicated and involves SQL queries, it is b...
Ecommerce module needed by vishalranaut
Infyecommerce is providing ecommerce packages for the clients to develop their ecommerce sites.They ...
AppTheory
RSS Feeds