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

Offline Mux

  • Posts: 189
[SOLVED] colorbox 1.6.
« 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!
« 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

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


Offline Mux

  • Posts: 189
Re: colorbox 1.6.
« Reply #2 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,

 

postern-length