<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Mootools 1.2 in Joomla1.5.x</title>
	<atom:link href="http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/</link>
	<description>Blogging on Joomla Development /Codeigniter/JQuery/Mootools/Wordpress - All Related to Web</description>
	<lastBuildDate>Thu, 08 Jul 2010 09:14:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Flavio Copes</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-161</link>
		<dc:creator>Flavio Copes</dc:creator>
		<pubDate>Fri, 26 Mar 2010 20:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-161</guid>
		<description>Hi, the fact is that this code hacks the core of Joomla, so if one day there&#039;ll be an update of that behavior.php file, you&#039;ll lose the changes you made, and the site will probably have a few errors because it will regress to MooTools 1.1

This should work: 

1) download the mootools 1.2 file, and put it in the templates/yourtemplate/js/ directory
2) Put this at the top of your template index.php file

_scripts[&#039;/media/system/js/mootools.js&#039;]);
$this-&gt;_scripts = array_merge(array($this-&gt;baseurl.&#039;/templates/yourtemplatename/js/mootools-1.2.4-core-yc.js&#039; =&gt; &#039;text/javascript&#039;), $this-&gt;_scripts);
?&gt;</description>
		<content:encoded><![CDATA[<p>Hi, the fact is that this code hacks the core of Joomla, so if one day there&#8217;ll be an update of that behavior.php file, you&#8217;ll lose the changes you made, and the site will probably have a few errors because it will regress to MooTools 1.1</p>
<p>This should work: </p>
<p>1) download the mootools 1.2 file, and put it in the templates/yourtemplate/js/ directory<br />
2) Put this at the top of your template index.php file</p>
<p>_scripts['/media/system/js/mootools.js']);<br />
$this-&gt;_scripts = array_merge(array($this-&gt;baseurl.&#8217;/templates/yourtemplatename/js/mootools-1.2.4-core-yc.js&#8217; =&gt; &#8216;text/javascript&#8217;), $this-&gt;_scripts);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-143</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Tue, 12 Jan 2010 04:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-143</guid>
		<description>@JDawg: Thanks for your comment. I have updated the code. My Bad! I missed it.</description>
		<content:encoded><![CDATA[<p>@JDawg: Thanks for your comment. I have updated the code. My Bad! I missed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JDawg</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-142</link>
		<dc:creator>JDawg</dc:creator>
		<pubDate>Tue, 12 Jan 2010 03:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-142</guid>
		<description>You should correct your code to link to the $mainframe global variable or else it will come back with an error.

global $mainframe;
if($mainframe-&gt;isSite())</description>
		<content:encoded><![CDATA[<p>You should correct your code to link to the $mainframe global variable or else it will come back with an error.</p>
<p>global $mainframe;<br />
if($mainframe-&gt;isSite())</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-134</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Wed, 16 Dec 2009 05:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-134</guid>
		<description>@Mike: The script has no errors. Please be advised to replace the backtick (`) with a quote (&#039;). The quotes are replaced by backtick in the code provided. 

Let me know if it works. 
Sanjeev</description>
		<content:encoded><![CDATA[<p>@Mike: The script has no errors. Please be advised to replace the backtick (`) with a quote (&#8216;). The quotes are replaced by backtick in the code provided. </p>
<p>Let me know if it works.<br />
Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike E</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-133</link>
		<dc:creator>Mike E</dc:creator>
		<pubDate>Tue, 15 Dec 2009 23:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-133</guid>
		<description>this is line 55:
 JHTML::script(’mootools-1.2.4-core.js’, ‘media/system/js/’, false);</description>
		<content:encoded><![CDATA[<p>this is line 55:<br />
 JHTML::script(’mootools-1.2.4-core.js’, ‘media/system/js/’, false);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike E</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-132</link>
		<dc:creator>Mike E</dc:creator>
		<pubDate>Tue, 15 Dec 2009 23:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-132</guid>
		<description>I get this:
Parse error: syntax error, unexpected T_DNUMBER in /home3/proinkho/public_html/Lounge_Report/libraries/joomla/html/html/behavior.php on line 55</description>
		<content:encoded><![CDATA[<p>I get this:<br />
Parse error: syntax error, unexpected T_DNUMBER in /home3/proinkho/public_html/Lounge_Report/libraries/joomla/html/html/behavior.php on line 55</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-114</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Fri, 30 Oct 2009 11:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-114</guid>
		<description>You need to edit a file named behavior.php which is in libararies-&gt;joomla-&gt;html-&gt;html. In line 35 you will find a method named mootools.
function mootools ($debug) {...};
You need to replace the mootools function with the code in the post but also remember to download the latest mootools as mentioned in the post. 

Also the code above works fine. There are no missing brackets if you look it is wrapped to next line.

Thanks
Sanjeev</description>
		<content:encoded><![CDATA[<p>You need to edit a file named behavior.php which is in libararies->joomla->html->html. In line 35 you will find a method named mootools.<br />
function mootools ($debug) {&#8230;};<br />
You need to replace the mootools function with the code in the post but also remember to download the latest mootools as mentioned in the post. </p>
<p>Also the code above works fine. There are no missing brackets if you look it is wrapped to next line.</p>
<p>Thanks<br />
Sanjeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alvin</title>
		<link>http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/comment-page-1/#comment-113</link>
		<dc:creator>Alvin</dc:creator>
		<pubDate>Fri, 30 Oct 2009 10:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sanjeevshrestha.com.np/2009/07/using-mootools-12-in-joomla15x/#comment-113</guid>
		<description>Hi,

Dont work for me.

Please tell exactly what we need to find and replace with your code also 
&quot;isSite&quot; is not organized and

 ’mootools-uncompressed.js’ there are not brackets</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Dont work for me.</p>
<p>Please tell exactly what we need to find and replace with your code also<br />
&#8220;isSite&#8221; is not organized and</p>
<p> ’mootools-uncompressed.js’ there are not brackets</p>
]]></content:encoded>
	</item>
</channel>
</rss>
