jquery and custom templates.

More
12 years 6 months ago #4213 by mmoltzan
To get SS to render on a page I had to remove this line from my index.php

<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js ">

and

load jquery from the SS module advanced options menu.

now my custom template that uses jquery does not work.

How can I get both to work at the same time?

Thanks

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

More
12 years 6 months ago #4214 by ced1870
Hi
if you load jquery in your template and disable it in the module ?
Ced

Joomlack Webmaster and Developer

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

More
12 years 6 months ago - 12 years 6 months ago #4215 by mmoltzan
then the SS does not work.

see attached screen captures from Chromes' inspect element, resources
camera.min,js and index.php files.


click here to go to site:
Attachments:
Last edit: 12 years 6 months ago by mmoltzan.

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

More
12 years 6 months ago #4216 by ced1870
ok, check that your jquery in the template is called before the <jdoc: include type="head" />

Joomlack Webmaster and Developer

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

More
12 years 6 months ago #4217 by mmoltzan
Works perfect! how did you discover that trick?

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

More
12 years 6 months ago #4219 by ced1870
just because the Jquery was not already loaded when the slideshow needs it ;)

Joomlack Webmaster and Developer

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

Time to create page: 0.229 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 405 guests and no members online