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