Changing the site theme

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/26/2009 4:57:52 PM
Gravatar
Total Posts 3

Changing the site theme

I want to change the skin and theme of the default installation, but I don't know how.  I've scoured the documentation, but I can't find anywhere that discusses where the stylesheets and skins should be deployed in order to change the default.  I've replaced ALL the files in the App_DesignTimeStyle directory; deployed the layout.master to the App_MasterPages directory; and deployed the .skin file to the App_Themes directory; and after all that, the web site still loads with the old, default theme!  What's going on?  I'm on framework 3.5.  I've deleted browser cache and server temp files.  So I can only assume that the site is looking at something else for its theming.

8/26/2009 7:44:51 PM
Gravatar
Total Posts 2254

Re: Changing the site theme

Creating a Skin documentation is here: http://www.mojoportal.com/creatingskins.aspx.

I think what you are wanting is to create your skin and force the site to use it. To do that, use the guide mentioned above to create the skin and then upload that skin to the \Data\Sites\[1]\Skins where the [1] is the ID of the site you want to use the skin on. After uploading, go to the Site Settings and select your skin.

If you want to change the default initial skin for a fresh installation, find the key below in the web.config file and set it's value to the name of the skin that you want to be the default for new installations. After a site is installed and this key was set during that install, it's skin will be styleshout-refresh.

<add key="DefaultInitialSkin" value="styleshout-refresh" /> 

Hope this helps,
Joe

8/27/2009 6:37:01 AM
Gravatar
Total Posts 18439

Re: Changing the site theme

I'm not sure if you are asking how to create custom skins or just how to change among the existing ones. This video shows how to change them.

For customising you don't need to do anything with files in App_MasterPage nor App_DesignTimeStyle. Best to leave that stuff alone.

The skins used by the site are located under /Data/Sites/1/skins, the folders there correspond to skins and all the needed files are in the folder for any particular skin. See the documentation  Joe Davis linked to for more information.

Hope it helps,

Joe

8/27/2009 12:32:08 PM
Gravatar
Total Posts 3

Re: Changing the site theme

Thanks for the help.  I found out the problem.  It looks like there is a nasty caching issue.  Once I reboot IIS and delete all browser data, I can get what I'm looking for.

8/27/2009 12:41:38 PM
Gravatar
Total Posts 18439

Re: Changing the site theme

If you change these to false in Web.config or user.config while designing it will make the design process less tedious. Then change them back afterwards for best perfomance.

<add key="CacheCssOnServer" value="false" />

<add key="CacheCssInBrowser" value="false" />

Hope it helps,

Joe

8/27/2009 1:57:14 PM
Gravatar
Total Posts 3

Re: Changing the site theme

Great!  That does help!

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