Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

squeezebox is undefined 20 May 2016 12:09 #13983

  • Marvinn
  • Marvinn's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

Last edit: by Marvinn.

squeezebox is undefined 20 May 2016 15:55 #13986

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

squeezebox is undefined 20 May 2016 16:27 #13987

  • Marvinn
  • Marvinn's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

Last edit: by Marvinn.

squeezebox is undefined 07 Jun 2016 14:19 #14028

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

squeezebox is undefined 07 Jun 2016 17:53 #14031

  • Marvinn
  • Marvinn's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.082 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started