Fixed: self-hosting YUI, no jQuery theme = no widgets

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.
11/19/2009 3:31:44 PM
Gravatar
Total Posts 14

Fixed: self-hosting YUI, no jQuery theme = no widgets

Hi - another accordion question, actually.

I followed the instructions for self-hosting the YUI scripts in the "intranet" page of the online docs, since we don't want our internal users hitting the net connection for them.   I tested it on a system with no net access and when I use <add key="UseGoogleCDN" value="false" /> it's no longer trying to load the scripts from google, but it was not loading them from the local disk, either.  It was not giving script errors, so I think that means I have the jquery scripts installed properly.

I looked at it in Firebug to be sure that the CSS wasn't loading for the yui classes.

I looked at the source and saw

<link rel='stylesheet' type='text/css' href='/ClientScript/jqueryui17/themes/mint-choc/ui.all.css' />

which looks like a folder and file I didn't have. I went back to the JQuery download site and customized my download to include that Mint Choc theme.  I made a themes folder on the server, renamed the jquery-ui-1.7.1.css file to ui.all.css and it started in to work just fine.

I think the mitchison-khaki theme I'm using is responsible for the mint-choc theme selection, it looks nice.  Now I need to figure out how to get all the jQueryUI themes, but I wanted to write this up as an addendum suggetion to your intranet docs.  The line is "download the jQueryUI files" ...

BTW, YUI is now at 2.8r4 and I had to google to get the 2.7.0 edition so I could follow the instructions to the letter!

(Thanks again for all of your time!  This is really just a little write up of my experience, not a bug report.)

11/20/2009 4:03:55 PM
Gravatar
Total Posts 2

Re: Fixed: self-hosting YUI, no jQuery theme = no widgets

Update the stylesheet control on your masterpage to tell it what theme to use

<portal:StyleSheetCombiner  runat="server" JQueryUIThemeName="dot-luv" UseIconsForAdminLinks="false" />

11/20/2009 5:57:10 PM
Gravatar
Total Posts 14

Re: Fixed: self-hosting YUI, no jQuery theme = no widgets

Will do, and thanks!

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