Another module search ........ so shoot me!

Last post 04-07-2005 4:02 PM by J7Mitch. 7 replies.

Sort Posts:

  • Another module search ........ so shoot me!

    04-06-2005, 10:43 PM
    • Contributor
      6,910 point Contributor
    • codegalaxy
    • Member since 06-29-2004, 5:00 PM
    • Topeka (Alma), Kansas
    • Posts 1,475
    I was wondering if anybody had found a way to present a way for a registered user (or other roles) to be able to switch skins?  If not would anybody be interested in something like this?
    Dylan Barber
    read my stupid blog http://codemypantsoff.com
    Pants Optional!
  • Re: Another module search ........ so shoot me!

    04-06-2005, 11:34 PM
    • Star
      13,145 point Star
    • J7Mitch
    • Member since 10-19-2002, 1:23 PM
    • Posts 2,632
    • TrustedFriends-MVPs
    John M.

    DotNetNuke Module for Performance
  • Re: Another module search ........ so shoot me!

    04-06-2005, 11:49 PM
    • Contributor
      6,910 point Contributor
    • codegalaxy
    • Member since 06-29-2004, 5:00 PM
    • Topeka (Alma), Kansas
    • Posts 1,475
    yeah thats kind of what I am looking for.  Is the source available so I could tweak it?
    Dylan Barber
    read my stupid blog http://codemypantsoff.com
    Pants Optional!
  • Re: Another module search ........ so shoot me!

    04-07-2005, 12:40 AM
    • Star
      13,145 point Star
    • J7Mitch
    • Member since 10-19-2002, 1:23 PM
    • Posts 2,632
    • TrustedFriends-MVPs

    Sure, but you may not want to buy the module just for this functionallity.  If you look in Default.aspx.vb for "SkinSrc" you can find where the Skin can now be set by reading the value from a cookie. Just like when you are previewing a skin and set it with the querystring.

    When I created this module for CSS Skins that wasn't there, but it has been added as an enhancement to the core, so all you would need to do now is get the SkinSrc set in the user's cookie.

    John M.

    DotNetNuke Module for Performance
  • Re: Another module search ........ so shoot me!

    04-07-2005, 3:20 PM
    • Contributor
      2,315 point Contributor
    • slope
    • Member since 07-09-2003, 6:13 PM
    • Posts 463
    Hey great work. With this one could easily let the users choose their skin...or even text size. One can use the preffered skin, but with different text size.
    -Follow your dreams!
  • Re: Another module search ........ so shoot me!

    04-07-2005, 3:48 PM
    • Contributor
      5,220 point Contributor
    • Imsoccrman
    • Member since 03-12-2003, 1:06 PM
    • Tulsa Oklahoma
    • Posts 1,044

    That's a very handy tidbit there...

    So basically a very simple module that contained a list of skins and then some code to set that for the user would allow me to create a skin switching skin widget right ?

    Along with the personalization feature in the core that allows me to save this setting, I don't really have to write much code at all... now that's what I call developer productivity ;-)

    Steve Walker
    Senior Consultant
    SharePoint Forums
    SharePoint Architecture
  • Re: Another module search ........ so shoot me!

    04-07-2005, 4:02 PM
    • Star
      13,145 point Star
    • J7Mitch
    • Member since 10-19-2002, 1:23 PM
    • Posts 2,632
    • TrustedFriends-MVPs

    Yes that is basically it Steve.  I decided to go with a cookie for the personalization though.  You might have a difficult time getting the user's choice to be read by the core without doing it that way.

    One other "gotcha" is if you as an admin change the list of skins to choose from then the user's choice needs to go back to the default skin.

    John M.

    DotNetNuke Module for Performance
  • Re: Another module search ........ so shoot me!

    04-07-2005, 5:01 PM
    • Contributor
      5,220 point Contributor
    • Imsoccrman
    • Member since 03-12-2003, 1:06 PM
    • Tulsa Oklahoma
    • Posts 1,044

    Right John, It would have to be in the cookie to be read by the core but it could be stored in the DB for the user so when they log back in it would remeber the skin even if they had cleared thier cookies or logged in from another computer.

    it's amazing how such a small bit of info can make things seem so much simpler.. Thanks for sharing John.

    Steve Walker
    Senior Consultant
    SharePoint Forums
    SharePoint Architecture
Page 1 of 1 (8 items)