Module Access -- by all users
Last Post 10/26/2010 5:58 PM by Joseph Craig. 5 Replies.
Author Messages
Elisa
Nuke Newbie
Nuke Newbie
Posts:7


--
10/22/2010 1:01 PM  
Hi,

I developed a small module in VB  using asp.net controls (text boxes, buttons and labels), and I added it to a page. That page has View permission for all users, but the module doesn't work if I don't log in into the web site.

If I log in as a host user it works fine , but i need it to work even if it is an anonymous user

What should I do??

Thanks.
Joseph Craig
DNN MVP
Posts:11667


--
10/22/2010 7:48 PM  
Have you checked that the module's permissions are set correctly.

Joe Craig, Patapsco Research Group
Complete DNN Support
Elisa
Nuke Newbie
Nuke Newbie
Posts:7


--
10/25/2010 10:12 AM  
I logged in as host user, then got into Admin menu, Extensions submenu.
In the Module Section I clicked on Edit Module, it has a Deploy Module Permissions section and I chcked all users check boxes (even unauthorized users), do I need to do something else??
Because it is not working even with that change.

Thanks.
Joseph Craig
DNN MVP
Posts:11667


--
10/26/2010 7:29 AM  
Look at the page on which the module lives, and check under Module Settings.

Joe Craig, Patapsco Research Group
Complete DNN Support
Elisa
Nuke Newbie
Nuke Newbie
Posts:7


--
10/26/2010 10:15 AM  
It also has View Permissions for all users in that section, but it doesn't work.

What my module does when i'm logged in is verify that 4 text boxes (they are in a panel) have data when I click on a button, if not, it shows an error message in a label, then verifies that one of the data exist on a database, and shows another panel that contains more text boxes.
But if I'm not logged in and I click on the same button it seems that just reloads the page an erases the data that I captured on the textboxes.
Joseph Craig
DNN MVP
Posts:11667


--
10/26/2010 5:58 PM  
Hmmm.  What you are describing sounds like pushing the button causes a postback.  When the page is posted back, the text boxes will be initialized so it is the same as erasing their contents.

Typically, you will have code in the pageload routine to not erase on postback. 

Joe Craig, Patapsco Research Group
Complete DNN Support


---