Problems with styles of administration pages

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.
7/23/2010 8:15:01 AM
Gravatar
Total Posts 22

Problems with styles of administration pages

Hi Joe,

we have some problems since we've updated mojoportal installation from 2-3-3-2 to 2-3-4-8.

There are problems with tabs and accordeon selection lists. It seems that they are displayed without any styles. This problem also accurs, if I use a all native skin included within your deployment zip archive.

I've also made all changes to our skins as described here:

http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=4&thread=5160

Can you please help?

 

Thanks,

Stephan

7/23/2010 8:22:37 AM
Gravatar
Total Posts 18439

Re: Problems with styles of administration pages

The tabs and accordions are jquery UI widgets, so it sounds like it is failing to load the jquery javascript and/or the jQueryUI css.

Make sure you used the new Web.config instead of keeping your old one. Make sure the layout.master file of your skins has:

<%-- JQueryUIThemeName valid options are:
base, black-tie, blitzer, cupertino, dark-hive, dot-luv, eggplant, excite-bike, flick, hot-sneaks,
humanity, le-frog, mint-choc, overcast, pepper-grinder,
redmond, smoothness, south-street, start, sunny, swanky-purse, trontastic, ui-darkness, ui-lightness, vader
--%>
<portal:StyleSheetCombiner id="StyleSheetCombiner" runat="server" JQueryUIThemeName="dot-luv" UseIconsForAdminLinks="false" />

and make sure it also has

<portal:ScriptLoader id="ScriptLoader1" runat="server" />

unless you copied all the skins from /Data/skins into /Data/Sites/1/skins then you really are not using the latest skins.

If you are on a private network then you may need to host the jquery files locally

Hope that helps,

Joe

7/23/2010 8:34:16 AM
Gravatar
Total Posts 22

Re: Problems with styles of administration pages

Thank you very much for your answer,

instead of what you wrote, the skin uses following:

<portal:StyleSheetCombiner id="StyleSheetCombiner" runat="server" UseIconsForAdminLinks="false" />

If I use
<portal:StyleSheetCombiner id="StyleSheetCombiner" runat="server" JQueryUIThemeName="dot-luv" UseIconsForAdminLinks="false" />
instead, the skin fails completely.

Scriptloader also is included.

We have internet connection - but is there a way to test the connection for the JQuery files from local network?
There were no problems with those jquery styles with the 2-3-3-2 installation...

 

Thank you, Stephan

7/23/2010 8:45:05 AM
Gravatar
Total Posts 22

Re: Problems with styles of administration pages

Oh, and yes, we have replaced the web.config with the new one - we just have kept our old user.config...

7/23/2010 8:47:05 AM
Gravatar
Total Posts 18439

Re: Problems with styles of administration pages

Hi,

The property JQueryUIThemeName has a default value of "base" changing the setting only makes it load a different theme.

To diagnose it you should view the source of your rendered page, it should have an url for jquery ui css something like this:

<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/base/jquery.ui.all.css' />
 

copy that url and paste it into a new tab browser navigation and see if it returns css or a 404 error. If a 404 then the url is not correct.

Hope it helps,

Joe

7/23/2010 9:05:16 AM
Gravatar
Total Posts 22

Re: Problems with styles of administration pages

Now I have realized, that it seems to be a local reference to JQuery and JQueryUI.

There is no external reference... the internal reference is not working. It uses a sub folder like "themes", which is not available in our local JQuery resource.

Before I will try to update our local resource, I'd like to test the external reference. To do it, I've set UseGoogleCDN to true and removed the settings for jQueryBasePath and jQueryUIBasePath.

But it does'nt help. It still tries to load the local resource.

7/23/2010 9:12:32 AM
Gravatar
Total Posts 18439

Re: Problems with styles of administration pages

If you make changes in user.config remember that the runtime will not automatically detect those changes. Make sure you type a space in Web.config.

Setting UseGoogleCDN to true should do the trick assuming your users have internet access, make sure that setting does not exist in more than one place in user.config, if it is in there more than once the one lower in the file wins. Really you could just remove it from user.config since it is true by default in Web.config.

Hope it helps,

Joe

7/23/2010 9:17:49 AM
Gravatar
Total Posts 22

Re: Problems with styles of administration pages

Thank you very much Joe!
It was the "space in web.config" thing, that I was not aware of. I thought it would also help to make changes to user.config.

Now the styles work fine. Given that our sites are all public web sites, there should be no problem to use the external resources.

Thank you very much,
and many greetings from Cologne,

Stephan

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