Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Squeezebox is undefined

squeezebox is undefined 20 May 2016 12:09 #13983

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
Hy,

I create in frontend modal box link, but error: squeezebox is undefined and modal not work, opening link new window.

build version: 2.8.2
emb JS framew.: YES
form style: Condensed
JDom: integated

update:
my frontend template: protostar
Last Edit: 20 May 2016 13:13 by Marvinn.
The administrator has disabled public write access.

squeezebox is undefined 20 May 2016 15:55 #13986

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Did you tried NOT to ember the JS framework ?

Quite sure it is the problem.

Can you report your Javascript error please ?
Coding is now a piece of cake
The administrator has disabled public write access.

squeezebox is undefined 20 May 2016 16:27 #13987

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
Yes, I tried.

TypeError: SqueezeBox is undefined
Source: http://xxxxxxx/index.php?option=com_munkanaplo&view=egymunka&filter_created_by=auto&Itemid=396
Line: 167

Line 167:
167: SqueezeBox.initialize({});
168: SqueezeBox.assign($$('a.modal'), {


Builder sandbox is work, my local server (protostar templates not work)

Edit: sandbox com_demo13218
Last Edit: 20 May 2016 16:33 by Marvinn.
The administrator has disabled public write access.

squeezebox is undefined 07 Jun 2016 14:19 #14028

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Do you still have this problem ?

I use protostar as well.

Do you have PREVIOUS js error in the stack ?
Because the error you show might come AFTER another error.

Do you use the native protostar template shipped with Joomla ?
Sandbox is using Protostar, so it cannot come from that.

Try to disable some plugins or extensions.
If you encounter something interresting and sharable with us (extensions compatibilities), I am very interresed to handle those incompatibilities.
Give me some time for this one please because it is quite difficult to fix until I cannot reproduce it.

Did you tried on a fresh Joomla ?
Coding is now a piece of cake
The administrator has disabled public write access.

squeezebox is undefined 07 Jun 2016 17:53 #14031

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
The problem still exists.
But,

the problem
<script src = "/ media / Jui / js / jquery-noconflict.js" type = "text / javascript"> </ script>

temporary solution:
/media/jui/js/jquery-noconflict.js content: jQuery.noConflict ();
I commented out, problem sloved.
The administrator has disabled public write access.
Time to create page: 0.068 seconds

Get Started