Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Skin switching at login

  1. #1
    BUBU is offline Member
    Join Date
    Mar 2006
    Location
    Mississauga, ON Canada
    Posts
    73

    Default Skin switching at login

    Is there any way to control the skin switching at login time?
    I have set the skin ID for the Affiliates and Customer Level (through backdoor) to the same value (skinid=2). Customers enter the store via a link store.domain.com/default.aspx?skinid=2&affiliateid=12345. The correct skin displays. After logging on it defaults to skinid=1. I also have skinid=2 set in the customer.

    Any patches on this, or is there a setting I am missing?

    I am using ASPDNSF ML 9.0.1.3

    Thanks

  2. #2
    BUBU is offline Member
    Join Date
    Mar 2006
    Location
    Mississauga, ON Canada
    Posts
    73

    Unhappy

    I thought I found a solution in thread http://forums.aspdotnetstorefront.co...highlight=skin
    where ASPDNSF-George referenced code in App_Code/SkinBase.cs particularly method LoadSkinTemplate.

    I have ML 9.0.1.3 without full source code. When I look at SkinBased.cs I don't see the code that is shown above the inserted example. In that code they reference AffiliateID and use the skinid from that. Did I get the right code, or was there a change before this version was released?

    Thanks

  3. #3
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    try adding the same codes in the OnPreInit() method.