From: Broekstra, J. <jee...@wu...> - 2010-11-09 15:07:38
|
Turns out that this is easier said than done: 1. if I disable the include in the skin, the skin javascript stuff fails on any page that does not contain a jqplot figure. 2. if I disable the include in the extension, however, the plots still fail because the include headers of the extension are loaded _before_ those of the skin (and apparently order of javascript inclusion matters). Does anyone have any tips on getting this to work? Is there some simple boolean switch available I can use to check if JQuery has already been included in the page? Cheers, Jeen > -----Original Message----- > From: Broekstra, Jeen [mailto:jee...@wu...] > Sent: maandag 8 november 2010 16:01 > To: Yaron Koren > Cc: sem...@li... > Subject: Re: [Semediawiki-user] javascript error on using > jqplotpie result format > > > Hi Yaron, > > Thanks for that! That's indeed the problem, should be easy to fix :) > > Cheers, > > Jeen > > > -----Original Message----- > > From: Yaron Koren [mailto:ya...@gm...] > > Sent: vrijdag 5 november 2010 17:28 > > To: Broekstra, Jeen > > Cc: sem...@li... > > Subject: Re: [Semediawiki-user] javascript error on using > > jqplotpie result format > > > > Hi Jeen, > > > > By any chance, are you using a custom skin that includes > jQuery, like > > GuMax or Ontoskin? If so, that's what's causing the problem > - I think > > you can get around it by removing the jQuery include call > from either > > the skin or the extension. > > > > -Yaron > > > > > > On Fri, Nov 5, 2010 at 11:59 AM, Broekstra, Jeen > > <jee...@wu...> wrote: > > > > > > hi guys, > > > > > > I'm trying to setup use of a pie chart using jqplotpie, but > > although the inline query spits out the correct data (I see > > the data I expect when using a table format), the 'jqplotpie' > > format does not produce the goods. > > > > > > I'm getting an empty page and the following Javascript > > error (when looking in Firefox's error console): > > > > > > jQuery.jqplot is undefined (line 101) > > > > > > Any idea what I'm doing wrong? I'm running SMW 1.5.2 on > > Mediawiki 1.16.0, with SRF latest trunk development version > (r76013). > > > > > > Cheers, > > > > > > Jeen > > > > > > > > > > > -------------------------------------------------------------- > > ---------------- > > > The Next 800 Companies to Lead America's Growth: New Video > > Whitepaper > > > David G. Thomson, author of the best-selling book "Blueprint to a > > > Billion" shares his insights and actions to help propel your > > > business during the next growth cycle. Listen Now! > > > http://p.sf.net/sfu/SAP-dev2dev > > > _______________________________________________ > > > Semediawiki-user mailing list > > > Sem...@li... > > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > > > > > > > > -- > > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > > > > > -------------------------------------------------------------- > ---------------- > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > |