<?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: Selectively load JavaScript in Magento on some pages</title>
	<atom:link href="http://activecodeline.com/selectively-load-javascript-in-magento-on-some-pages/feed" rel="self" type="application/rss+xml" />
	<link>http://activecodeline.com/selectively-load-javascript-in-magento-on-some-pages</link>
	<description>Blog site of Branko Ajzele, web application developer.</description>
	<lastBuildDate>Thu, 09 Sep 2010 17:45:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jon</title>
		<link>http://activecodeline.com/selectively-load-javascript-in-magento-on-some-pages/comment-page-1#comment-1404</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Mon, 12 Jan 2009 19:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=279#comment-1404</guid>
		<description>Hey Branko,

another kinda interesting thing, not in regards to loading javascript but more for getting nutty with css and whatnot -- you likely already heard of use this, but you can use $this-&gt;getBodyClass() in the layout to output a pretty heft class string (i.e. ). get as specific as you want from there -- kinda cool. thanks for all the good info.</description>
		<content:encoded><![CDATA[<p>Hey Branko,</p>
<p>another kinda interesting thing, not in regards to loading javascript but more for getting nutty with css and whatnot &#8212; you likely already heard of use this, but you can use $this-&gt;getBodyClass() in the layout to output a pretty heft class string (i.e. ). get as specific as you want from there &#8212; kinda cool. thanks for all the good info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://activecodeline.com/selectively-load-javascript-in-magento-on-some-pages/comment-page-1#comment-5196</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Mon, 12 Jan 2009 19:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=279#comment-5196</guid>
		<description>Hey Branko,

another kinda interesting thing, not in regards to loading javascript but more for getting nutty with css and whatnot -- you likely already heard of use this, but you can use $this-&gt;getBodyClass() in the layout to output a pretty heft class string (i.e. ). get as specific as you want from there -- kinda cool. thanks for all the good info.</description>
		<content:encoded><![CDATA[<p>Hey Branko,</p>
<p>another kinda interesting thing, not in regards to loading javascript but more for getting nutty with css and whatnot &#8212; you likely already heard of use this, but you can use $this-&gt;getBodyClass() in the layout to output a pretty heft class string (i.e. ). get as specific as you want from there &#8212; kinda cool. thanks for all the good info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Celenza</title>
		<link>http://activecodeline.com/selectively-load-javascript-in-magento-on-some-pages/comment-page-1#comment-272</link>
		<dc:creator>Brian Celenza</dc:creator>
		<pubDate>Wed, 22 Oct 2008 14:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=279#comment-272</guid>
		<description>Magento contains a bit of functionality in their layout XML files that allow you to add JS and CSS on a per-controller or per-module basis.

For instance, look at app/design/frontend//default/layout/checkout.xml. Within this file is specific directives for each controller and action. If you wanted to add a JS file to the onepage checkout index page, look for 

Within this xml node add the following code:

     /path/to/yourscript.js


CSS is just as easy, change the action to:
/path/to/yourcss.css

Voila.

Brian J. Celenza
Lead Application Developer
brianc (at) wearport (dot) com
http://www.wearport.com - For all your custom apparel needs!</description>
		<content:encoded><![CDATA[<p>Magento contains a bit of functionality in their layout XML files that allow you to add JS and CSS on a per-controller or per-module basis.</p>
<p>For instance, look at app/design/frontend//default/layout/checkout.xml. Within this file is specific directives for each controller and action. If you wanted to add a JS file to the onepage checkout index page, look for </p>
<p>Within this xml node add the following code:</p>
<p>     /path/to/yourscript.js</p>
<p>CSS is just as easy, change the action to:<br />
/path/to/yourcss.css</p>
<p>Voila.</p>
<p>Brian J. Celenza<br />
Lead Application Developer<br />
brianc (at) wearport (dot) com<br />
<a href="http://www.wearport.com" rel="nofollow">http://www.wearport.com</a> &#8211; For all your custom apparel needs!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Celenza</title>
		<link>http://activecodeline.com/selectively-load-javascript-in-magento-on-some-pages/comment-page-1#comment-5195</link>
		<dc:creator>Brian Celenza</dc:creator>
		<pubDate>Wed, 22 Oct 2008 14:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=279#comment-5195</guid>
		<description>Magento contains a bit of functionality in their layout XML files that allow you to add JS and CSS on a per-controller or per-module basis.

For instance, look at app/design/frontend//default/layout/checkout.xml. Within this file is specific directives for each controller and action. If you wanted to add a JS file to the onepage checkout index page, look for 

Within this xml node add the following code:

     /path/to/yourscript.js


CSS is just as easy, change the action to:
/path/to/yourcss.css

Voila.

Brian J. Celenza
Lead Application Developer
brianc (at) wearport (dot) com
http://www.wearport.com - For all your custom apparel needs!</description>
		<content:encoded><![CDATA[<p>Magento contains a bit of functionality in their layout XML files that allow you to add JS and CSS on a per-controller or per-module basis.</p>
<p>For instance, look at app/design/frontend//default/layout/checkout.xml. Within this file is specific directives for each controller and action. If you wanted to add a JS file to the onepage checkout index page, look for </p>
<p>Within this xml node add the following code:</p>
<p>     /path/to/yourscript.js</p>
<p>CSS is just as easy, change the action to:<br />
/path/to/yourcss.css</p>
<p>Voila.</p>
<p>Brian J. Celenza<br />
Lead Application Developer<br />
brianc (at) wearport (dot) com<br />
<a href="http://www.wearport.com" rel="nofollow">http://www.wearport.com</a> &#8211; For all your custom apparel needs!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
