I am away from my home PC for a while, so decided to download the latest version of Mojo and my current project from remote source control to my laptop.
Everything works fine, except the skin I was working on no longer has all the JQuery tags in when i look at it in firebug. I know it's not the install as the jquery demo skin works and has the tags.
Is there something I need to turn on for classes to be populated? I am confused as this exact skin works on my home PC
By default we are loading jquery stuff from the google cdn. If you need it to work when you are offline see Self Hosting jQuery and jQueryUI Files.
Hope that helps,
I have been through that document and double checked everything is loading. The the other thing I forgot to mention was that my JQuery Super fish menus have been working throughout.
It's just the standard widget classes don't seem to be added to the mark up, even with a simple HTML panel.
I have am stumped as this exact skin/code is working on my home pc The only thing I did differently was downloaded the latest Mojo before I added my projects from source control.
See below and thanks for your help
<div id="ctl00_leftContent_ctl00_pnlOuterWrap" class=""><div id="ctl00_leftContent_ctl00_pnlInnerWrap" class="panelwrapper htmlmodule">
<a id="module2" class="moduleanchor"></a>
<h2 class=" moduletitle">New Content Title</h2>
<div id="ctl00_leftContent_ctl00_pnlOuterBody" class="">
<div id="ctl00_leftContent_ctl00_divCleared" class="cleared"></div>
You need to use firebug or browser tools to look for script errors and use the network tab to look for failure to load any jquery files
Thanks for getting back to me. I have checked and JQueriry and JQuery UI both load (Firebug) and there are no script errors, I'm 99.9% sure it's a setting in my skin needs to be turned on so Mojo creates the Widget classes.
For example one of the artisteer skins, generates the CSS classes in the mark up for artisteer, the JQuery demo skin, creates the widget classes in the mark up. Mine and some of the other demo skins don't generate the Jquery classes on the mark up.
I originally started mine from JQuery demo, so I don't know what I have changed, but I just want Mojo to add in the classes around the panels etc as it did before for me. So it's not so much a JQuery script issue, just a more how do I get Mojo to show the JQueryUI classes.
When you visit Administration > System Information does it say "Partial Trust"?
Are you using .NET 3.5?
If the answer to both of those is yes then it is the problem discussed on the bottom of the page Understanding the theme.skin file.
Normally a development machine won't be configured for medium trust but if the laptop is part of a Windows Domain then medium trust may be pushed down to that machine by group policy.
mojoPortal Version 188.8.131.52 MSSQL
Operating System Microsoft Windows NT 6.1.7600.0
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone GMT Daylight Time
Server Local Time (GMT 1) 5/1/2012 10:37:58 PM
Greenwich Mean Time (GMT/UTC) 5/1/2012 9:37:58 PM
Also, it's .NET 4.0
I am 99% sure it must be a setting on the skin as the JQuery Demo skin that comes with Mojo, does have the classes added to the panels. Also, I notice the artisteer skins have the the artisteer classes added to the mark up. What I need to find out is what mechanism in the skin files tells Mojo what classes to add to panels on the fly.
The most confusing thing is this is the exact same skin that works on my PC at home, therefore the only thing I have changed is downloading the latest version of Mojo.. well and the fact its on a different computer, however I feel I can discount this as the JQuery Demo skin supplied does create the classes on the panels :-(
Problem solved, your last post got me thinking about the theme file.
Somehow.... and I have no idea how, my theme file was missing some of the controls and hence JQuery classes.... I have no idea why/how that happened but obv user error :-)
I have copied over with the JQuery demo skin theme and we all good.
Thanks for all your help/time.