Svarrers Gallery plugin version 0.9 modification

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Svarrers Gallery plugin version 0.9 modification

Post by bastingse » Mon Jun 19, 2017 6:31 pm

It says: TypeError: $(...).sortable is not a function

Code: Select all

<anoniem> /:252:4
ready /plugins/gallery/libs/fancybox/jquery-1.4.2.min.js:24:208
init /plugins/gallery/libs/fancybox/jquery-1.4.2.min.js:23:87
c /plugins/gallery/libs/fancybox/jquery-1.4.2.min.js:20:381
<anoniem> /:251:3
ready /plugins/gallery/libs/fancybox/jquery-1.4.2.min.js:26:287
L /plugins/gallery/libs/fancybox/jquery-1.4.2.min.js:33:149

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Svarrers Gallery plugin version 0.9 modification

Post by cmb » Mon Jun 19, 2017 9:52 pm

It seems that Fancybox loads its own jquery version. There should be a Fancybox configuration option include_jquery which has to be disabled in your case.
Christoph M. Becker – Plugins for CMSimple_XH

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Svarrers Gallery plugin version 0.9 modification

Post by bastingse » Tue Jun 20, 2017 3:16 pm

cmb wrote:It seems that Fancybox loads its own jquery version.
You mean Fancybox from the gallery plugin or do you mean Hi_fancybox plugin or the Jquery plugin?
cmb wrote: There should be a Fancybox configuration option include_jquery which has to be disabled in your case.
Can you give me a hint in what file to find this?
I'm not a developper so i have no idea where to look :-(

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Svarrers Gallery plugin version 0.9 modification

Post by cmb » Tue Jun 20, 2017 3:24 pm

bastingse wrote:
cmb wrote:It seems that Fancybox loads its own jquery version.
You mean Fancybox from the gallery plugin or do you mean Hi_fancybox plugin or the Jquery plugin?
Good question! Recently, there was a related support request in the German forum, but that was about hi_Fancybox, and this could be solved by changing a Fancybox configuration option. From looking at the code above it is actually the gallery that includes its own jquery version. So I'd have a look at /plugins/gallery/config/config.php (or the configuration form in the backend); not sure, if that's configurable, though. If in doubt, I suggest you contact Holger.
Christoph M. Becker – Plugins for CMSimple_XH

bastingse
Posts: 308
Joined: Fri Jun 06, 2008 9:38 pm
Location: Netherlands
Contact:

Re: Svarrers Gallery plugin version 0.9 modification

Post by bastingse » Tue Jun 20, 2017 4:35 pm

Christoph, thanks for reply and willing to help. This is very much appreciated. But i think i better forget about this function..... i did not find anything in the gallery configuration about fancybox.

Thanks anyway!!!

Post Reply