0
Welcome Guest! Login
0 items Join Now

Solution for Sobi2 and mootools conflict

  • Solution for Sobi2 and mootools conflict

    Posted 17 years 3 months ago
    • Hi,


      It is a long time i search the solution to use Sigsiu Sobi2 and my Rocket templates using mootools (slimbox, rokslide, rokflow and many others i don't know).
      As you know the extended search of Sobi2 component launch itself mootools and crash the site.

      The solution i found in many forums was to remove or comment out the mootools script line in template's index.php

      As most of the new features included in recent templates use mootools i really wanted to use theim.

      So, Neo from the sigsiu forum found the solution to use Sobi2 extended search with mootools script enabled and the solution is pretty simple.

      In template's index.php you have to move the line :
      <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/mootools.js"></script>

      above this line :
      <?php
      if ( $my->id ) {
           initEditor();
      }
      mosShowHead();

      Now you should have that :
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/mootools.js"></script>
      <?php
      if ( $my->id ) {
           initEditor();
      }
      mosShowHead();


      It worked for me and I hope it will help others :)
  • Re: Solution for Sobi2 and mootools conflict

    Posted 17 years 3 months ago
    • Fabulous! That worked for me!! Thanks for posting Fabien!!
  • Re: Solution for Sobi2 and mootools conflict

    Posted 17 years 3 months ago
    • i am glad to see it helps :)
  • Re: Solution for Sobi2 and mootools conflict

    Posted 17 years 2 months ago
    • :-*
      Lots of thank also to Fabien. I had the problem with the SOBI2 Graybound Gallery not functioning because of the mootools conflict, as told me Trinity from SOBI2. Changing tihs mootools line position solved the problem. Mille fois merci Fabien.
  • Re: Solution for Sobi2 and mootools conflict

    Posted 17 years 2 months ago
    • You are welcome, i am just a copy/paster of the solution given on the other forum :) Mille fois de rien
  • Re: Solution for Sobi2 and mootools conflict

    Posted 16 years 3 months ago
    • Hello,

      I am using Joomla 1.5 and chromatophorev and I can't find such info in index.php. Was your fixed applicable to RT themes with Joomla 1.0?
      Could you provide information as it related to RT themes with Joomla 1.5?

      Thanks
  • Re: Solution for Sobi2 and mootools conflict

    Posted 16 years 2 months ago
    • I am also continuing to have this mootools/sobi2 Javascript conflict - it remains unresolved, I think, in the RT J1.5 templates. :evil:

      Can someone confirm this, or offer a fix. Here is the page where the SOBI2 drop-down sub-categories do not display due to this conflict:
      www.eastcobber.com/index.php?option=com_...Task=addNew&Itemid=2

      Thanks for advice.
      John
    • Products, services and sites for growing communities.
  • Re: Solution for Sobi2 and mootools conflict

    Posted 15 years 5 months ago
    • Has anyone found the solution to this RT conflict and Sobi2 search. I am using Infuse and everyone points to RT/Mootools. I purchased the radius distance search plugin for the client and all I get is a blank page when you search.. Any ideas?
      www.autocarenw.com/member-locations.html
    • I may not always post here. But when I do - I post Dos Equis!

Time to create page: 0.085 seconds