Author Topic: [SOLVED] colorbox 1.6.  (Read 3726 times)

Offline Mux

  • Posts: 189
[SOLVED] colorbox 1.6.
« on: September 15, 2017, 01:28:47 PM »
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 -[native%20code]%7D/modules/colorbox/js/jquery.colorbox-min.js"
"NetworkError: 404 Not Found -[native%20code]%7D/modules/colorbox/1/colorbox.css"
Laden fehlgeschlagen für das ("could not load"...)  <script> mit der Quelle ("with source:")  "[native%20code]%7D/modules/colorbox/js/jquery.colorbox-min.js". (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?

« Last Edit: September 15, 2017, 02:30:30 PM by jacobi22 »

Offline Gast

  • Posts: 5920
Re: colorbox 1.6.
« Reply #1 on: September 15, 2017, 02:05:08 PM »
no problems for me - install and test - no other action needed, it work's

"NetworkError: 404 Not Found -[native%20code]%7D/modules/colorbox/js/jquery.colorbox-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

Offline Mux

  • Posts: 189
Re: colorbox 1.6.
« Reply #2 on: September 15, 2017, 02:14:33 PM »
it was the frontendJs-Filter which I had to additionally activate. now it's working