WebsiteBaker Community Forum

WebsiteBaker Support (2.10.x) => Modules => Topic started by: Mux on September 15, 2017, 01:28:47 PM

Title: [SOLVED] colorbox 1.6.
Post by: Mux on September 15, 2017, 01:28:47 PM
hi,
just upgraded a wb-site to 2.10.
I had been using a jquery-lightbox with libraryadmin before. As I killed libadmin now I want to try it with colorbox 1.6.
Installation works but not the lightbox.
I get following errors:

"NetworkError: 404 Not Found - https://domain.net/function%20URL()%20%7B%20%20%20%20[native%20code]%7D/modules/colorbox/js/jquery.colorbox-min.js"
jquery....-min.js
"NetworkError: 404 Not Found - https://domain.net/function%20URL()%20%7B%20%20%20%20[native%20code]%7D/modules/colorbox/1/colorbox.css"
colorbox.css
Laden fehlgeschlagen für das ("could not load"...)  <script> mit der Quelle ("with source:")  "https://domain.net/function%20URL()%20%7B%20%20%20%20[native%20code]%7D/modules/colorbox/js/jquery.colorbox-min.js".
   
domain.net (Zeile 1)
TypeError: jQuery(...).colorbox is not a function

Any hints what I've done wrong or better, what to do to get it right?

thanks!
Title: Re: colorbox 1.6.
Post by: Gast on September 15, 2017, 02:05:08 PM
no problems for me - install and test - no other action needed, it work's

Quote
"NetworkError: 404 Not Found - https://domain.net/function%20URL()%20%7B%20%20%20%20[native%20code]%7D/modules/colorbox/js/jquery.colorbox-min.js"
jquery....-min.js

looks that you dont use Jquery.

try to activate the filters in AdminTools -> Outputfilters (at minimum Filter for
- JQuery
- ScriptVars
- SnippetJS

or use register_frontend_m odfiles (jquery) and register_frontend_m odfiles(js) in your template

Title: Re: colorbox 1.6.
Post by: Mux on September 15, 2017, 02:14:33 PM
thanks!
it was the frontendJs-Filter which I had to additionally activate. now it's working

cheers,