R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
How To Create A Skin Changer/Site Log/Newsletter Module For Non-Admin/End Users With NO CODE!!
Last Post 01 Jan 1900 05:00 AM by . 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
09 Apr 2007 07:54 PM  
If you are looking for a end user, non admin way to set up a module to change the portal skin, try this(neat trick I read somewhere)

Log in as Host
Go to Host>Modules
Choose Create New Module from the menu
Enter "Skin Changer" in your Module Name, Friendly Name and Description fields, or call it whatever you want.
Click Update
Enter Skin Changer in New Definition field, click Add.
Then click the Add Control icon.
Add Skin Changer as the title, select View as the Type and Admin\Skins\editskins.ascx as the Source, then save it all.

Go to a page and add your new module......

For Newsletters

The same method can be used for creating the Admin Menu Site Log and Admin Menu Newsletters functionality. Just change the field names as appropriate, and when you set the Type field value when doing Add Control select:

Admin/Users/BulkEmail.ascx for Newsletters

For Site Log:
I think you can do this with other modules in \admin of the DNN web root too(like Log Viewer) but when you follow the method above for Skin Changer, they can cause harmless, but none the less, ugly looking errors when the page loads, displayed at the bottom of the page. To fix this problem, try this approach

For Site Log, go to your DNN web root, then \Admin\Log. Copy all the files. Go to \DesktopModules. Create a new directory, like SiteLog. Paste these files. Check to make sure the pasted files have the right security.

Then follow the process above and when you set the Type field value when doing Add Control select:
DesktopModules/SiteLog/sitelog.ascx


ListX....makes you look brilliant, even though you're not.
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
09 Apr 2007 08:21 PM  
Thanks for the great Tip/Trik paul.
Durga Prasad(DP) | Senior Web Engineer<br>R2integrated
wcmasonUser is Offline
New Member
New Member
Posts:32

--
09 Apr 2007 08:53 PM  
Thanks Paul, DO you think this would work ok for user mantenance? I have places where the office admin needs to be able to approve and update users but not necessarily have access to all of the other admin functions. Thanks, Bill
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
09 Apr 2007 08:55 PM  
Not sure, sorry. You could try..... using my suggestion of finding the ASCX in the \admin folder.

What I have done before for that is use a module on Snowcovered called WorkControl User Manager. It's like 20 bucks.
ListX....makes you look brilliant, even though you're not.
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
09 Apr 2007 09:20 PM  
If your cheap .....looks like you could figure it out. I've just successfully hooked in all the \admin\user files into a new module I created. EXCEPT.....for editing the user. You might have to play with the control record settings (ie. View, Edit, etc.) to add an extra control to do the user editing. It looked like it gave the user all other editablitliy controls though. I started by adding a control, after moving the files under Desktop Modules to users.ascx
ListX....makes you look brilliant, even though you're not.
wcmasonUser is Offline
New Member
New Member
Posts:32

--
09 Apr 2007 10:51 PM  
Hi Paul, Thanks, but I looked at the module you recommended and for $24, it is just what I need plus it throws in a few extras as well. Bill
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share