Wrong skin applied via site settings

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/21/2011 11:04:06 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Wrong skin applied via site settings

Hi Joe, if you go to Site Settings from the master site and select a child site, the skin name that defaults on the General tab is from the master site, not the child site. If you then make any settings changes and save, the child site gets assigned the master site's skin. To fix it, you need to go to the child site and select the correct skin from there.

Jamie

6/21/2011 11:27:33 AM
Gravatar
Total Posts 18439

Re: Wrong skin applied via site settings

Hi Jamie,

I "think" I remember discovering this after the 2.3.6.6 release and fixing it. Can you verify whether you get the same problem using the latest code from the repository?

When creating a new site the skin list should show the skins from /Data/skins and after the site is created it should show the ones from the site specific folder.

Thanks,

Joe

6/21/2011 6:05:26 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Wrong skin applied via site settings

Hi Joe, I just downloaded the latest changes and did a full rebuild and deploy from source, but I still had the issue. I debugged and was able to fix it by commenting out the following statement in EnsureItems() in skinSettings.ascx.cs:

if ((dd.Items.Count > 0)&&(!catalogChanged)) { return; }

It seems that catalogChanged is not being updated reliably when selecting a new site. Hope that helps.

Jamie

6/23/2011 12:31:53 PM
Gravatar
Total Posts 18439

Re: Wrong skin applied via site settings

Thanks Jamie!

This is now fixed in the repository.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.