jQuery / YUI non-Google

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/11/2010 6:06:32 PM
Gravatar
Total Posts 194

jQuery / YUI non-Google

Hello, one of my mojo sites is for an intranet where Google hosted services are blocked. Therefore, I need to host the jquery and YUI plugins if my understanding is correct. Can soemone please verify that these are the user.config settings to make that happen:

<add key="UseGoogleCDN" value="false" />
<add key="YUIBasePath" value="~/_include/yui/" />
<add key="YUITabCss" value="~/_include/yui/assets/skins/sam/tabview.css" />
<add key="YUISkinImagePath" value="/_include/yui/assets/skins/sam/" />
<add key="jQueryBasePath" value="~/_include/jquery/" />
<add key="jQueryUIBasePath" value="~/_include/jquery/development-bundle/ui/" />

*Assume my paths are correct (they are). I'm having problems, it's not working 100% correct. What versions of jquery and YUI should I be using? Will they change? Is there a preferred dowload location for each?

I read the mojo help page on this topic, but am thinking it may not be up to date. either that or I'm using the wrong versions from the wrong source.

1/13/2010 5:29:52 AM
Gravatar
Total Posts 18439

Re: jQuery / YUI non-Google

Hi Eric,

I would stick with YUI 2.6, jQuery 1.3.2 and jQueryUI 1.7.2. I'm pretty sure there are breaking changes in newer versions of YUI.

The only way to verify if the config setting paths are correct is to view the source of the rendered page and make sure the urls for any javascript or css are correct and if not adjust the path settings to make it correct.

Hope it helps,

Joe

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