<?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: Referencing Javascript files</title>
	<atom:link href="http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:12:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-241392</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 14 Nov 2011 15:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-241392</guid>
		<description>@Axel: To use the JavaScript helper in your view, you have to add it to the $helpers array of your controllers like so:
&lt;code&gt;
class ExamplesController extends AppController {
    public $helpers = array(&#039;Javascript&#039;);
}
&lt;/code&gt;

Hope this helps!</description>
		<content:encoded><![CDATA[<p>@Axel: To use the JavaScript helper in your view, you have to add it to the $helpers array of your controllers like so:<br />
<pre><code>class ExamplesController extends AppController {
    public $helpers = array('Javascript');
}</code></pre>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-241268</link>
		<dc:creator>Axel</dc:creator>
		<pubDate>Mon, 14 Nov 2011 01:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-241268</guid>
		<description>well i don&#039;t know why it keeps deleting the string, </description>
		<content:encoded><![CDATA[<p>well i don&#8217;t know why it keeps deleting the string,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-241267</link>
		<dc:creator>Axel</dc:creator>
		<pubDate>Mon, 14 Nov 2011 01:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-241267</guid>
		<description>&quot;link(&#039;/calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118&#039;); ?&gt; &quot;
without the quotes</description>
		<content:encoded><![CDATA[<p>&#8220;link(&#8216;/calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118&#8242;); ?&gt; &#8221;<br />
without the quotes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-241265</link>
		<dc:creator>Axel</dc:creator>
		<pubDate>Mon, 14 Nov 2011 01:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-241265</guid>
		<description>Hi, i&#039;m using the 1.2 version, and i have to use a javascript in my view, i wrote 
link(&#039;/calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118&#039;); ?&gt;
on the top of the code, but when i acces the page and the next erro appears

Notice (8): Undefined variable: javascript [APP\views\appointments\cita.ctp, line 1]


Fatal error: Call to a member function link() on a non-object in C:\xampp\htdocs\cmc\views\appointments\cita.ctp on line 1

any ideas about why is not working?, i&#039;m kinda new with cakephp
thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi, i&#8217;m using the 1.2 version, and i have to use a javascript in my view, i wrote<br />
link(&#8216;/calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118&#8242;); ?&gt;<br />
on the top of the code, but when i acces the page and the next erro appears</p>
<p>Notice (8): Undefined variable: javascript [APP\views\appointments\cita.ctp, line 1]</p>
<p>Fatal error: Call to a member function link() on a non-object in C:\xampp\htdocs\cmc\views\appointments\cita.ctp on line 1</p>
<p>any ideas about why is not working?, i&#8217;m kinda new with cakephp<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-165736</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 21 Jun 2010 13:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-165736</guid>
		<description>@AngryJoe: You are welcome!</description>
		<content:encoded><![CDATA[<p>@AngryJoe: You are welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AngryJoe</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-165612</link>
		<dc:creator>AngryJoe</dc:creator>
		<pubDate>Thu, 17 Jun 2010 18:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-165612</guid>
		<description>Well done. That was a big help.</description>
		<content:encoded><![CDATA[<p>Well done. That was a big help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-134468</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Wed, 12 Aug 2009 09:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-134468</guid>
		<description>Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-130030</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 08 Jun 2009 14:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-130030</guid>
		<description>@Danish: Hm, I don&#039;t see why it shouldn&#039;t work if you put the adsense code directly to the layout. Can you paste your code somewhere, for example on &lt;a href=&quot;http://bin.cakephp.org&quot; rel=&quot;nofollow&quot;&gt;http://bin.cakephp.org&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p>@Danish: Hm, I don&#8217;t see why it shouldn&#8217;t work if you put the adsense code directly to the layout. Can you paste your code somewhere, for example on <a href="http://bin.cakephp.org" rel="nofollow">http://bin.cakephp.org</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danish</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-129964</link>
		<dc:creator>Danish</dc:creator>
		<pubDate>Sun, 07 Jun 2009 13:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-129964</guid>
		<description>Hey

I need to ad my Google ads to the cakephp default layout.....

If I add the code directly like we add in any html page it doesnt appear...

I also tried both of the tricks shared here but its not working..

Kindly help me and email me at danish.don123@gmail.com

I really need to know please help me out guys...

Regards,</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>I need to ad my Google ads to the cakephp default layout&#8230;..</p>
<p>If I add the code directly like we add in any html page it doesnt appear&#8230;</p>
<p>I also tried both of the tricks shared here but its not working..</p>
<p>Kindly help me and email me at <a href="mailto:danish.don123@gmail.com">danish.don123@gmail.com</a></p>
<p>I really need to know please help me out guys&#8230;</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-129509</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 01 Jun 2009 07:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-129509</guid>
		<description>@Mr Speaker: Thanks for your comment! 

I hope I could answer your question with the following article: &lt;a href=&quot;http://cakebaker.42dh.com/2009/06/01/specifying-helpers-for-static-pages/&quot; rel=&quot;nofollow&quot;&gt;http://cakebaker.42dh.com/2009/06/01/specifying-helpers-for-static-pages/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@Mr Speaker: Thanks for your comment! </p>
<p>I hope I could answer your question with the following article: <a href="http://cakebaker.42dh.com/2009/06/01/specifying-helpers-for-static-pages/" rel="nofollow">http://cakebaker.42dh.com/2009/06/01/specifying-helpers-for-static-pages/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

