live demo
Home arrow Support arrow Forum
Welcome, Guest
Please Login or Register.    Lost Password?
[Solved] Broke my login slider (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: [Solved] Broke my login slider
#357
[Solved] Broke my login slider 1 Year, 3 Months ago Karma: 0  
I really love Moo FAQ & have been looking for this exact tool for months & happened to find it today.



Only now my login slider ceased to work (which also uses the MooTools slide effect). The slider tab is in the upper right & contains my log-in function.



Both codes (moo faq & my login slider) are located in the <head> area of index.php, though no matter what I do to switch the code around, my original slide effect stays broken.



Is there a way I can have several slide effects going at one time (i.e. continue to use Moo FAQ)?



Here's a link to my site: http://epicodyssey.com/index.php?option=com_content&task=view&id=29&Itemid=43



Post edited by: jmaxpro, at: 2007/08/05 00:24<br><br>Post edited by: jmaxpro, at: 2007/08/06 03:13
Ricard (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#358
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
Try taking out the reference to the Moo FAQ mootools file ... that might work. Let me know ...
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#359
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
Can you be more specific?



One whole string or just part of one of them?



Here's the code I think is in conflict:



&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/js/mootools.v1.00.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/js/rt_tools_packed.js&quot;&gt;&lt;/script&gt;



&lt;script src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/modules/moo_faq/mootools.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; &gt;&lt;/script&gt;

&lt;script src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/modules/moo_faq/moo_faq.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; &gt;&lt;/script&gt;<br><br>Post edited by: jmaxpro, at: 2007/08/05 00:37
Ricard (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#360
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
Try removing:



Code:

&lt;script src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/modules/moo_faq/mootools.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; &gt;&lt;/script&gt;
Your template mootools version should handle sliding as well.
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#361
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
Thanks Anthony ~ I took it out &amp; the login slider works again, but the sliding effect is gone from Moo FAQ.



Another suggestion?



Curious ~ is it possible I would need to config the modules to use the same library as the other? If so, how would you suggest I do this?<br><br>Post edited by: jmaxpro, at: 2007/08/05 01:17
Ricard (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#362
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
Sorry just looked more closely at your source ... I think its a clash with the motools version. Your template uses 1.0 and the faq uses 1.11 ...



You could try building the slide for the login using a more recent script. There are a few good examples/tutorials out there and the mootools.net demos are relatively east to replicate also.
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#365
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
I have an inquiry in to determine if I can simply upgrade moo tools to the newer 1.1 version (did you upload it on a previous post?) and have it work.



I'll let you know what I find out.
Ricard (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#366
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
Actually you could try and use this version of moo_faq which uses mootools 1.0 ... let me know if this works. Its slightly different though ...
File Attachment:
File Name: mod_moo_faq_SEF_fixed-8bf9eb7f82c4b94466c449b2d3971cfe.zip
File Size: 1157
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#370
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
Thanks for that option, I'm going to see if I can remedy the first situation 1st:



Update:



I downloaded the latest MooTools java 1.11



Something I just notices is that the MooTools module has MooTools 1.11 installed in module folder within the wwwroot of the site, while the control panel sliders I am using reference MooTools individually within a js folder for the individual templates.



Perhaps this is a source of conflict?



Any suggestions on a possible remedy? Perhaps there is a way to point both to the same file?
Ricard (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#371
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
Yes you actually only need one version of mootools linked to in your template. If the script is referenced in the head of the template then it doesnt really matter where the specific .js file is stored. Because mootools is modular its possible to have some scripts that contain various functions and not others.



But I think the conflict is really between 1.0 and 1.11



Cheers Anthony.
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#376
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
To help others benefit from the hours upon hours I spent resolving this script conflict I provide the following synopsis:



Problem:



I had two competing scripts in the Index.php of my template, both requiring access to mootools.



1) A Sliding Control Panel ~ running mootools v.1.00



2) MooFAQ sliding FAQ module ~ running mootools v.1.11



The MooFAQ module installation requires 2 lines of code placed in the &lt;head&gt; section of the Index.php which created a conflict resulting in only one of the scripts working at a time.



The conflict appeared to have resulted from 2 different versions of moo tools running in the SAME TEMPLATE at the same time.



I bolded SAME TEMPLATE ~ because I have 2 different templates running within the same site, and the Sliding Control Panel was working just fine alongside the MooFAQ module in one of them, while at the same time the Sliding Control Panel was inoperable in the other ~ the one in which I was running Moo FAQ



Solution:



1) Replaced mootools.v1.0 in the .js file of the template with mootools.v.1.11 (downloaded from mootools.net)



2) Replaced rt_tools_packed.js file of the template with roktools.js from another template with a version of the control panel slider that works with mootools v1.11



3) Redirected the Control Panel Slider script code in Index.php to reflect the file changes



AND THE KICKER:



4) Moved MooFAQ scripts above the scripts governing the Control Panel scripts (which seemed to be the final key)



MISSION ACCOMPLISHED ~ the two scripts now play nicely together! &amp; I love MooFAQ!
Ricard (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#379
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
Thanks so much for this ... it can be a bit of a mindfield trying to sort out competing scripts ... it might even help to post the modules you included in the mootools package ...
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#550
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
any chance I can get some one-on-one help with this?

I think I did the 4 steps correctly but I still can't get the MooFAQ sliding to work.

My site is universityyoga.com

Here's the script section of my index.php file:





Code:

&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; &lt;?php echo _ISO; ?&gt;&quot; /&gt; &lt;script src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/modules/moo_faq/mootools.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; &gt;&lt;/script&gt; &lt;script src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/modules/moo_faq/moo_faq.js&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; &gt;&lt;/script&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/js/mootools.r598.js&quot;&gt;&lt;/script&gt; &lt;?php if ($show_pulldown == &quot;true&quot;«») : ?&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/js/roktools.js&quot;&gt;&lt;/script&gt; &lt;?php endif; ?&gt; &lt;?php if($mtype==&quot;moomenu&quot;«») :?&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/js/mootools.bgiframe.js&quot;&gt;&lt;/script&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/js/rokmoomenu.js&quot;&gt;&lt;/script&gt; &lt;link href=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/css/rokmoomenu.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt; &lt;link href=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/&lt;?php echo $mainframe-&gt;getTemplate(); ?&gt;/css/rokslidestrip.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt; &lt;script type=&quot;text/javascript&quot;&gt; window.addEvent('domready', function() { new rokmoomenu($E('ul.nav'), { bgiframe: false, delay: 400, animate: { props: ['opacity', 'width', 'height'], opts: { duration:400, fps: 100, transition: Fx.Transitions.sineOut } } }); }); &lt;/script&gt;
Thanks in advance! Peace. Post edited by: macanudo, at: 2007/08/21 06:08<br><br>Post edited by: macanudo, at: 2007/08/21 06:11
Camilo (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#551
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
The first step is to disable each referenced script one at a time to see where the conflict is ... This also includes the scripts used in the body of the index.php file ...
galapados (User)
Fresh Bamboo
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#552
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
Ok, I went through each of the scripts and commented them out with the //.

But I still have the same phenomena. I even tried it with a totally different template that doesn't have the sliding menus.



Do I need to change the name of the mootools.v1.11.js file that I copied into the js folder of the template? What other files reference it? Is there anything inside the mootools.v1.11.js file that needs to be added or removed?
Camilo (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#554
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
I just checked your source ... try putting it before the closing &lt;/head&gt; tag and after the rok_menu etc references ... you could also try unpublishing Jom comment to see if that has any effect.



The mootools file being referenced is in in the modules/moo_faq folder ...



It really looks like its close to working its just getting stuck on the opening part
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#556
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
Still no luck. I tried the two lines in several places before the closing head tag.



Where do you see a jom comment reference. It hasn't been enabled.



Do I need to do anything with the mootools folder?



I did see a change in the faq's when I changed the menu style from moomenu to splitmenu to module.
Camilo (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#557
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 0  
Still no luck. I tried the two lines in several places before the closing head tag.



Where do you see a jom comment reference. It hasn't been enabled.



Do I need to do anything with the mootools folder?



I did see a change in the faq's when I changed the menu style from moomenu to splitmenu to module.
Camilo (User)
Fresh Bamboo
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#562
Re:Broke my control panel slider 1 Year, 3 Months ago Karma: 40  
You might have the Jomcomment bot published. If you look at the source you can see this:





Code:

&lt;script type=&quot;text/javascript&quot;&gt; var xajaxRequestUri=&quot;http://universityyoga.com/index2.php&quot;; var xajaxDebug=false; var xajaxStatusMessages=true; var xajaxWaitCursor=true; var xajaxDefinedGet=0; var xajaxDefinedPost=1; var xajaxLoaded=false; function xajax_jcxLoadUserInfo(){return xajax.call(&quot;jcxLoadUserInfo&quot;, arguments, 1);} function xajax_jcxAddComment(){return xajax.call(&quot;jcxAddComment&quot;, arguments, 1);} function xajax_jcxShowSubscribeForm(){return xajax.call(&quot;jcxShowSubscribeForm&quot;, arguments, 1);} function xajax_jcxShowAddForm(){return xajax.call(&quot;jcxShowAddForm&quot;, arguments, 1);} function xajax_jcxSubscribe(){return xajax.call(&quot;jcxSubscribe&quot;, arguments, 1);} function xajax_jcxMoreComment(){return xajax.call(&quot;jcxMoreComment&quot;, arguments, 1);} function xajax_jcxUpdateComment(){return xajax.call(&quot;jcxUpdateComment&quot;, arguments, 1);} function xajax_jcxUnpublish(){return xajax.call(&quot;jcxUnpublish&quot;, arguments, 1);} function xajax_jcxEdit(){return xajax.call(&quot;jcxEdit&quot;, arguments, 1);} function xajax_jcxSave(){return xajax.call(&quot;jcxSave&quot;, arguments, 1);} &lt;/script&gt;
Unpublishing may actually do it as I can see that jom comment uses moo.fx as well - precursor to Mootools . Let me know if that gives you any joy Anthony.
Anthony Olsen (Admin)
Admin
Posts: 1733
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates