7938 Posts in 1466 Topics by 943 members
Page: 1 2
|Go to End|
14 June 2009 at 10:25am
Uncle Cheese - I have done this. All modules are in silverstripe root - in this case, a subfolder as I am testing for new website.
I have also uninstalled "image_gallery", "dataobject_manager" and "swfupload". I have also deleted the following tables from php record
I have then reinstalled, however still getting same error.
Any other suggestions???
15 June 2009 at 6:27am
The assets aren't being read for one reason or another. Check the source code for the js and css files and test navigating to them directly in your browser. It could be a permissions issue or something else. Hard to say. Something isn't set up right.
23 June 2009 at 9:18pm
I'm helping debug this issue for africansafari, and it looks to me like a conflict between Prototype and jQuery. The various lightbox scripts are having a good old whinge about "$ is not a function" in the Firefox error console.
The site is using forms on most pages, which as I understand introduced the prototype code into the mix. We are already using jQuery.noConflict(); to get Prototype playing nice with jQuery (which we use for another script), however *most* of the lightbox scripts in the image_gallery plugin are using the $() notation rather than jQuery() notation so noConflict won't help here.
The ShadowBox option uses jQuery() though. So for everyone else, we managed to solve (or at least workaround) the issue by switching the gallery to Shadowbox, and making sure that the following code is inserted after jQuery has loaded:
Hope that helps someone. I'm open to any better suggestions by the way - I understand SS are trying to remove Prototype in a future release, would be nice to slim down the site by not loading 2 competing JS libraries.
24 June 2009 at 2:03am
does nothing unless you return it to something.
$J = jQuery.noConflict();
I should probably go through and make all the image gallery scripts Prototype compliant, though. That's a good idea.
24 June 2009 at 3:45am
Hmm, you sure?
The site uses the code I posted above, and it works. I'm pretty sure you only need to specify a return variable if you don't want to use the default of 'jQuery'.
Thanks for the prompt response, appreciated.
24 June 2009 at 6:47am
If I'm not mistaken, $ is an alias for "jQuery" out of the box. I don't think you need to do the noConflict().
My favorite workaround, though, is this one:
// any code you want here using $ as a jQuery object
Page: 1 2
|Go to Top|