Hello there,
I am having a problem using a theme that was purchased by a co-worker. The theme they bought has a small slideshow at the top of the page. It is used on every page and it is controlled by the jquery tabs+slideshow components of the jquery tools suite. The script also includes the jquery library itself which causes some problems since Drupal already has the jquery code included. When i remove the script specified by the theme, my javascript errors go away but so does the slideshow (since the tabs code is gone). The errors i am having include not being able to process the ajax requests when using views, or having the split summary at cursor box (the top half) visible but disabled on all posts. I tried to go to the jquery tools site and generate a script that only included the tabs and slideshow components (without the actual jquery) and it doesn't work. I am not sure if the versions aren't compatible or what. It only works if i generate a script that has the jquery core included. Anybody know how i can get around this w/o taking out the slideshow component of the theme? Thanks.

Comments

ssarts’s picture

can you provide a link to look at? Make sure the jQuery library is always loaded before the jQuery Tools library. Also, if you're using it on EVERY page, you could just use the theme jQuery that includes tools instead of loading jQuery alone from drupal.

bdawg8569’s picture

The link to the development site is http://uscites.djcase.com. The Jquery library is loading before the tools library. I don't know what you mean about using the JQuery theme.

bdawg8569’s picture

We decided to change the template and only use the slideshow on the home page. That allowed me to create a new template for the homepage and have only that page use the tools script. That basically fixes all the problems with javascript on every other page. I'd still be interested in knowing how i could have fixed it had we kept the slideshow on every page if somebody happens to know.

Mproject’s picture

Can you please explain how did you wrote your template file to achieve jquery tools slideshow plugin and Views collaboration?
I'm working with J.Tools for a while now, but I'm new to Drupal and having problems to template the slideshow