The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Dec 16, 2011 8:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Dec 15, 2011 8:18 pm
Posts: 10
Hello,

I'm running a nearly-fresh install of Joomla 1.7.3. All I have are some articles, just text, and a Twitter feed plugin installed that I haven't gotten around to using yet. I'm developing offline, without connecting to the internet, using XAMPP instead.

I've been trying to get a Lightbox-style image viewer to work. I've tried four different galleries so far, and am now on sigplus (release pkg_sigplus-1.4.2.8), with the content ordering of 0. Out of stubbornness, I will be sticking with this one.

With the exception of Slimbox (which I abandoned because it doesn't seem able to display a single image, just galleries), I haven't been able to get a single plugin to work. They all use curly braces {} for their syntax, but I either get the text visible as-is, or a big blank empty space.

After a couple of hours of Googling, I stumbled on something that suggested I look at Firefox's error console. There, I received "jquery is not defined" errors. I've spent a couple more hours Googling this error, with nothing coming up that was helpful. I've set sigplus's AJAX settings to "local only" and to "none", but I still get the errors. The files and directories they reference are (colons removed so they don't turn into shortened URLs):

http//localhost/joomla/plugins/content/sigplus/js/jquery.noconflict.js
http//localhost/joomla/plugins/content/sigplus/engines/boxplus/popup/js/boxplus.min.js
http//localhost/joomla/plugins/content/sigplus/engines/boxplus/lang/boxplus.lang.min.js
http//localhost/joomla/plugins/content/sigplus/engines/boxplus/slider/js/boxplus.slider.min.js
http//localhost/joomla/

My (very limited) understanding is that jQuery is either accessed remotely or locally, depending on your settings, and that sigplus comes with a copy of jQuery to reference. Is this right? Is there something else I need to install, uninstall, enable, or disable?

Any help is greatly appreciated.


Top
 Profile  
 
PostPosted: Tue Dec 27, 2011 3:25 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Dec 15, 2011 8:18 pm
Posts: 10
Anyone? I still haven't been able to figure this out, and could really use the help.


Top
 Profile  
 
PostPosted: Sun Apr 29, 2012 8:29 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 13, 2010 8:59 am
Posts: 153
Indeed, jQuery is a dependency for many lightbox and slider engines integrated into sigplus 1.3.x/1.4.x, and must be referenced before any of the engines would actually be used. In the absence of jQuery, the initialization code for the engines cannot execute as they contain calls to jQuery functions. The error message jQuery is not defined is a symptom that the reference to jQuery is missing.

For a brand new installation, sigplus automatically wires a jQuery reference, the library being fetched from Google's CDN (for performance reasons), which corresponds to the AJAX library source setting default. The setting local is recommended if you use a script merger that aggregates all scripts into a single file, which is a mechanism used by many templates but it is not compatible with the CDN approach. The setting none is for the case when you want to take care of the problem of getting jQuery yourself, typically with a third-party extension.

If the topic No gallery is displayed at all and I get a message on the error console that reads __jQuery__(xxx).yyy(...) is undefined in the sigplus FAQ is of no help, you must make sure the script files are indeed accessible. Some server configurations block access to
Code:
http://localhost/joomla/plugins/content/sigplus
and folders below, which is where the sigplus 1.3.x/1.4.x script sources and must be added as an exception.


Top
 Profile  
 
PostPosted: Sat Sep 08, 2012 4:02 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Dec 15, 2011 8:18 pm
Posts: 10
I know this is an old thread, but I feel I owe it to everyone to reply one more time (and very sorry for forgetting about it!). I figured out the issue... I wasn't connected to the internet! Something stupid and silly, but that's what it was. I was working on a laptop that didn't have a wireless connection, but replying on a desktop that did. Go figure! Thanks for your help. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group