Jump to content

Edit History

notsureabout

notsureabout

 OK,
after some tryes I made it work.
Had to put the script in
classic/templates/_partials/javascript.tpl

just after
 

{foreach $javascript.external as $js}
  <script type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
{/foreach}

{foreach $javascript.inline as $js}
  <script type="text/javascript">
    {$js.content nofilter}
  </script>
{/foreach}

In this way accordion works but I have always an annoying

Uncaught ReferenceError: $ is not defined

in chrome console.

Any suggestions?
Thank you.
 

notsureabout

notsureabout

 OK,
after some tryes I made it work.
Had to put the script in
classic/templates/_partials/javascript.tpl

just after
 

{foreach $javascript.external as $js}
  <script type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
{/foreach}

{foreach $javascript.inline as $js}
  <script type="text/javascript">
    {$js.content nofilter}
  </script>
{/foreach}

In this way accordion works but I have always an annoying

Uncaught ReferenceError: $ is not defined

in chrome console.

Any suggestions?
Thank you.
 

×
×
  • Create New...