<?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, 16 Mar 2010 17:17:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Mr Speaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-129496</link>
		<dc:creator>Mr Speaker</dc:creator>
		<pubDate>Mon, 01 Jun 2009 02:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-129496</guid>
		<description>What about for staticpages in /views/pages/? You can&#039;t add the JavaScript helper, because there isn&#039;t a controller - how can I add javascript files in pages?

Thanks!</description>
		<content:encoded><![CDATA[<p>What about for staticpages in /views/pages/? You can&#8217;t add the JavaScript helper, because there isn&#8217;t a controller &#8211; how can I add javascript files in pages?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-126795</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 01 May 2009 06:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-126795</guid>
		<description>@pokaru: I&#039;m glad you found the solution in the meantime :)</description>
		<content:encoded><![CDATA[<p>@pokaru: I&#8217;m glad you found the solution in the meantime :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pokaru</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-126665</link>
		<dc:creator>pokaru</dc:creator>
		<pubDate>Wed, 29 Apr 2009 14:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-126665</guid>
		<description>Nevermind :D.

I just figured out that I need to specify &#039;false&#039; as the second parameter for the $javascript-&gt;link() method.  Setting that parameter to false will cause the script you&#039;re  trying to link  to show up wherever $scripts_for_layout variable is specified.</description>
		<content:encoded><![CDATA[<p>Nevermind :D.</p>
<p>I just figured out that I need to specify &#8216;false&#8217; as the second parameter for the $javascript-&gt;link() method.  Setting that parameter to false will cause the script you&#8217;re  trying to link  to show up wherever $scripts_for_layout variable is specified.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pokaru</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-126664</link>
		<dc:creator>pokaru</dc:creator>
		<pubDate>Wed, 29 Apr 2009 14:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-126664</guid>
		<description>The $scripts_for_layout variable is always null.

I&#039;ve linked a few js files via $javascript-&gt;link(&#039;script.js&#039;), but I get nothing.  Can anyone help?</description>
		<content:encoded><![CDATA[<p>The $scripts_for_layout variable is always null.</p>
<p>I&#8217;ve linked a few js files via $javascript-&gt;link(&#8217;script.js&#8217;), but I get nothing.  Can anyone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pokaru</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-126663</link>
		<dc:creator>pokaru</dc:creator>
		<pubDate>Wed, 29 Apr 2009 14:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-126663</guid>
		<description>Although I&#039;m linking many .css and .js files using:

  $html-&gt;css(&#039;sheet.css&#039;); and $javascript-&gt;link(&#039;script.js&#039;);

when I echo $scripts_for_layout, I get the empty string.

Can anyone help?</description>
		<content:encoded><![CDATA[<p>Although I&#8217;m linking many .css and .js files using:</p>
<p>  $html-&gt;css(&#8217;sheet.css&#8217;); and $javascript-&gt;link(&#8217;script.js&#8217;);</p>
<p>when I echo $scripts_for_layout, I get the empty string.</p>
<p>Can anyone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/comment-page-1/#comment-100905</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Tue, 29 Jul 2008 14:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/#comment-100905</guid>
		<description>@CombatWombat: Hm, no idea why you get a wrong path... Personally, I would point the document root to app/webroot, and the problem should go away ;-)

Btw: As you are new to Cake, I would directly start with CakePHP 1.2.</description>
		<content:encoded><![CDATA[<p>@CombatWombat: Hm, no idea why you get a wrong path&#8230; Personally, I would point the document root to app/webroot, and the problem should go away ;-)</p>
<p>Btw: As you are new to Cake, I would directly start with CakePHP 1.2.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
