Forum Support

Shape 5
March 29, 2024, 02:05:02 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: jQuery  (Read 700 times)
aivenho
Jr. Member
**
Offline Offline

Posts: 10



« on: January 30, 2014, 05:01:02 AM »

I have a problem that native jQuery used in module is overwritten by older jQuery libraries which are added by Helion template as it is not using native Joomla jQuery.

Code:
<script type="text/javascript">//<![CDATA[
if(jQuery.easing.easeOutExpo==undefined){
document.write('<script src="http://54.246.100.202/templates/helion/js/jquery/jquery-ui.min.js"><\/script>');
}
//]]></script>

How could I solve this? Could I comment out the header code from above? And in which file?

I have altered the paths to jquery files in /templates/helion/vertex/css_and_js.php but it messed up the Flex5 menu...
« Last Edit: January 30, 2014, 11:40:30 AM by aivenho » Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: January 30, 2014, 10:37:39 PM »

Hello,

Can you post a URL of this?

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
aivenho
Jr. Member
**
Offline Offline

Posts: 10



« Reply #2 on: January 31, 2014, 05:57:18 AM »

Sent you PM.

Module developer sugests you to implement and use in your templates this: http://docs.joomla.org/J3.2:Javascript_Frameworks.

For Joomla 2.5 then they offer free system plugin to update jQuery to Joomla 3 style: http://www.perfect-web.co/blog/joomla/62-jquery-bootstrap-in-joomla-25
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: February 02, 2014, 04:21:14 PM »

Hello,

The version of jquery-ui.min.js that the Template is packaged with was the latest available version when the Framework was updated. If you are commenting out this script that is the reason the Flex Menu wouldn't work since it requires the jquery-ui JavaScript.  You can comment this out if needed but the module you are using must have this part of the Jquery library in order for the menu to operate.

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
smiles4her
Jr. Member
**
Offline Offline

Posts: 7



« Reply #4 on: February 09, 2014, 03:42:09 AM »

I believe I'm having an issue with jquery being loaded more than once on one of my pages because of a 3rd-party extension (commedia) seen here at: http://www.crosspoint.org/index.php/downloads I've tried a few different tricks, but it always leads to the drop-down menus not working OR the PLAY button (via the extension) on the downloads page not working. I can never get both to work at the same time. I'd be grateful for any suggestions. (For now, I have it set in favor of the template's drop-down menus). Thanks!

Jason

P.S. We've received a lot of great comments/compliments on our use of the new Helion template. Smiley Many thanks.
« Last Edit: February 09, 2014, 03:46:21 AM by smiles4her » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #5 on: February 10, 2014, 08:53:57 AM »

Hello,

Jquery can be called multiple times on the same page, but it must be called in no-conflict mode which your component is not doing:

  <script src="http://www.crosspoint.org//components/com_commedia/classes/jquery.min.js" type="text/javascript"></script>
  <script src="http://www.crosspoint.org//components/com_commedia/players/jquery.jplayer.min.js" type="text/javascript"></script>

That's a component problem.

Also, it appears you are running Vertex 3 on Joomla 2.5. Only Vertex 2 and Joomla 2.5 templates should be used on Joomla 3.X
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #6 on: February 11, 2014, 01:01:23 AM »

Quote
Also, it appears you are running Vertex 3 on Joomla 2.5. Only Vertex 2 and Joomla 2.5 templates should be used on Joomla 3.X

The above is a typo... He meant to say Vertex 3.X is designed for Joomla 3.0 and Vertex 2.X is designed for Joomla 2.5. You are currently running the wrong version of Vertex on your site and need to repatch your files with the correct version for your CMS.

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.