Forum Support

Shape 5
March 28, 2024, 04:48:51 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: Accordion does not exppand when on a page with mootools script  (Read 469 times)
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« on: June 23, 2010, 04:05:56 AM »

I am having the same problem as set out in this post http://www.shape5.com/component/option,com_smf/Itemid,75/topic,10881.0/. The URL for my site is www.greendragon.ca

The menu would not expand when the user was on some pages, but not all. I added the following code to index.php and it fixed the issue on all but one page.
Quote
:)Solved (actually solved by Jonah on a different thread).
Add this string....
JHTML::_('behavior.mootools');
...right after the following in your index.php
defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'TEMPLATEPATH', dirname(__FILE__) );
The problem still exists on the Photographie page - (http://greendragon.ca/photography).

I have a plugin from http://www.joomlaworks.gr/ called simple image gallery. Quoting the plugin, "it is a "Mootools" implentation of the "Lightbox" script."

Can you give me an idea on what to add / change in the accordion menu code (or elsewhere) to get around this issue on the effected page?

Thanks
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: June 23, 2010, 12:50:40 PM »

It appears that plugin is powered by jquery which could be the reason why there is a conflict. 
Logged

Jonah Hall
------------
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
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« Reply #2 on: June 23, 2010, 04:05:48 PM »

are you saying that you do not have either a suggestion or a resolution?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: June 24, 2010, 11:57:07 AM »

Unfortunately when using two different Javascript libraries sometimes conflicts arise and the only solution is to go with either one or the other.  Mootools is the library included with Joomla so a lot of our modules run off this library.  I would contact Joomla works and see if they have a solution
Logged

Jonah Hall
------------
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.