<?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: The Better Way to Modify Magento Layouts</title>
	<atom:link href="http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/feed/" rel="self" type="application/rss+xml" />
	<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/</link>
	<description>Classy Llama Studios is a team of developers, designers and marketers specializing in Magento, Wordpress and Custom Web Application development.</description>
	<lastBuildDate>Thu, 09 Sep 2010 15:44:04 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Oliver</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-462</link>
		<dc:creator>David Oliver</dc:creator>
		<pubDate>Wed, 08 Sep 2010 09:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-462</guid>
		<description>@Umar: yes.</description>
		<content:encoded><![CDATA[<p>@Umar: yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umar</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-460</link>
		<dc:creator>Umar</dc:creator>
		<pubDate>Wed, 08 Sep 2010 09:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-460</guid>
		<description>Hey ehansen, nice article, but can this also for meganto 1.4 ( I am really a newbie on meganto )</description>
		<content:encoded><![CDATA[<p>Hey ehansen, nice article, but can this also for meganto 1.4 ( I am really a newbie on meganto )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehansen</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-457</link>
		<dc:creator>ehansen</dc:creator>
		<pubDate>Tue, 07 Sep 2010 21:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-457</guid>
		<description>@Joel - Since your question regarding Magento resources, I&#039;ve come across this excellent resource for learning Magento development: http://www.magentocommerce.com/knowledge-base</description>
		<content:encoded><![CDATA[<p>@Joel &#8211; Since your question regarding Magento resources, I&#8217;ve come across this excellent resource for learning Magento development: <a href="http://www.magentocommerce.com/knowledge-base" rel="nofollow">http://www.magentocommerce.com/knowledge-base</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-452</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-452</guid>
		<description>&lt; reference name=&quot;root&quot; &gt;
            &lt;reference name=&quot;top.links&quot;&gt;
&lt;action method=&quot;removeLinkByUrl&quot;&gt; &lt;url helper=&quot;customer/getLoginUrl&quot;/&gt; &lt;/action&gt;
            &lt;/reference&gt;
&lt;/reference&gt;</description>
		<content:encoded><![CDATA[<p>&lt; reference name=&#8221;root&#8221; &gt;<br />
            &lt;reference name=&#8221;top.links&#8221;&gt;<br />
&lt;action method=&#8221;removeLinkByUrl&#8221;&gt; &lt;url helper=&#8221;customer/getLoginUrl&#8221;/&gt; &lt;/action&gt;<br />
            &lt;/reference&gt;<br />
&lt;/reference&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-451</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-451</guid>
		<description>Sorry the code is:


            

            
</description>
		<content:encoded><![CDATA[<p>Sorry the code is:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-450</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-450</guid>
		<description>local.xml is a great ideal.

It seems to me there is a difference between placing xml block in local.xml file and Magento CMS page layout design field.

For example: when I placed code:
&lt;code&gt;

            

            

&lt;/code&gt;

in Magento layout design field of the Homepage, it removes the &quot;Log In&quot; link from the header.

However, when I put the same code to local.xml file, it didn&#039;t remove the &quot;log in&quot; link from the header.

Does anyone know why?</description>
		<content:encoded><![CDATA[<p>local.xml is a great ideal.</p>
<p>It seems to me there is a difference between placing xml block in local.xml file and Magento CMS page layout design field.</p>
<p>For example: when I placed code:<br />
<code></p>
<p></code></p>
<p>in Magento layout design field of the Homepage, it removes the &#8220;Log In&#8221; link from the header.</p>
<p>However, when I put the same code to local.xml file, it didn&#8217;t remove the &#8220;log in&#8221; link from the header.</p>
<p>Does anyone know why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehansen</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-449</link>
		<dc:creator>ehansen</dc:creator>
		<pubDate>Mon, 30 Aug 2010 14:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-449</guid>
		<description>@Martijn - I don&#039;t know of an available cheatsheet.  If I come across one, I&#039;ll let you know.  

If you look at the public methods in the Mage_Core_Block_Abstract and Mage_Core_Block_Template classes, you&#039;ll see most of the methods that are available to all blocks.  Also, keep in mind that all Blocks extend Varien_Object which means you can set and get data using the setVariable() and getVariable() methods.  Method calls like setTemplate don&#039;t exist in the aforementioned classes - the template just gets set using the magic method in Varien_Object.</description>
		<content:encoded><![CDATA[<p>@Martijn &#8211; I don&#8217;t know of an available cheatsheet.  If I come across one, I&#8217;ll let you know.  </p>
<p>If you look at the public methods in the Mage_Core_Block_Abstract and Mage_Core_Block_Template classes, you&#8217;ll see most of the methods that are available to all blocks.  Also, keep in mind that all Blocks extend Varien_Object which means you can set and get data using the setVariable() and getVariable() methods.  Method calls like setTemplate don&#8217;t exist in the aforementioned classes &#8211; the template just gets set using the magic method in Varien_Object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-447</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Sun, 29 Aug 2010 20:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-447</guid>
		<description>@ehansen Great tutorial, thanks! I&#039;ve been reading the updated PDF I found on &lt;a href=&quot;http://www.magentocommerce.com/wiki/4_-_Themes_and_Template_Customization/0_-_theming_in_magento/designing-for-magento&quot; rel=&quot;nofollow&quot;&gt;http://www.magentocommerce.com/wiki/4_-_Themes_and_Template_Customization/0_-_theming_in_magento/designing-for-magento &lt;/a&gt;. Combined with your tutorial, creating your own Magento themes makes more sense now. 

So basically, starting with 1.4, all you need, most of the time, is local.xml combined with skin parts like CSS, images and JS? I was wondering though. The XML references and all the basic functions: like removeItem, addCss etc: is there a cheatsheet for this? I&#039;d love to have an overview of all the XML possibilities regarding managing Magento themes. 

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>@ehansen Great tutorial, thanks! I&#8217;ve been reading the updated PDF I found on <a href="http://www.magentocommerce.com/wiki/4_-_Themes_and_Template_Customization/0_-_theming_in_magento/designing-for-magento" rel="nofollow"></a><a href="http://www.magentocommerce.com/wiki/4_-_Themes_and_Template_Customization/0_-_theming_in_magento/designing-for-magento" rel="nofollow">http://www.magentocommerce.com/wiki/4_-_Themes_and_Template_Customization/0_-_theming_in_magento/designing-for-magento</a> . Combined with your tutorial, creating your own Magento themes makes more sense now. </p>
<p>So basically, starting with 1.4, all you need, most of the time, is local.xml combined with skin parts like CSS, images and JS? I was wondering though. The XML references and all the basic functions: like removeItem, addCss etc: is there a cheatsheet for this? I&#8217;d love to have an overview of all the XML possibilities regarding managing Magento themes. </p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Babs</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-445</link>
		<dc:creator>Babs</dc:creator>
		<pubDate>Tue, 24 Aug 2010 12:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-445</guid>
		<description>And here&#039;s the xml to accompany the above post:

&lt;layout&gt;
	&lt;default&gt;
        &lt;reference name=&quot;right&quot;&gt;
            &lt;block type=&quot;checkout/cart_sidebar&quot; name=&quot;cart_shoppingbag&quot; template=&quot;checkout/cart/shoppingbag.phtml&quot;&gt;
            &lt;/block&gt;
        &lt;/reference&gt;
	&lt;/default&gt;
&lt;/layout&gt;

Sorry ;)</description>
		<content:encoded><![CDATA[<p>And here&#8217;s the xml to accompany the above post:</p>
<p>&lt;layout&gt;<br />
	&lt;default&gt;<br />
        &lt;reference name=&#8221;right&#8221;&gt;<br />
            &lt;block type=&#8221;checkout/cart_sidebar&#8221; name=&#8221;cart_shoppingbag&#8221; template=&#8221;checkout/cart/shoppingbag.phtml&#8221;&gt;<br />
            &lt;/block&gt;<br />
        &lt;/reference&gt;<br />
	&lt;/default&gt;<br />
&lt;/layout&gt;</p>
<p>Sorry <img src='http://classyllama.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Babs</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-444</link>
		<dc:creator>Babs</dc:creator>
		<pubDate>Tue, 24 Aug 2010 12:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-444</guid>
		<description>Hi! Thanks for this useful post. I have been successfully updating layouts using this method, but I have a problem with a global update I wanted to perform, and I was wondering if you knew why this doesn&#039;t work:



	
        
            
            
        
	


If I paste the same update (without the layout and default tags of course) into a cms page, the block gets rendered as desired. However, it doesn&#039;t if I place it in any of the layout overrides in my theme&#039;s local.xml file. I&#039;m a little baffled by this :)</description>
		<content:encoded><![CDATA[<p>Hi! Thanks for this useful post. I have been successfully updating layouts using this method, but I have a problem with a global update I wanted to perform, and I was wondering if you knew why this doesn&#8217;t work:</p>
<p>If I paste the same update (without the layout and default tags of course) into a cms page, the block gets rendered as desired. However, it doesn&#8217;t if I place it in any of the layout overrides in my theme&#8217;s local.xml file. I&#8217;m a little baffled by this <img src='http://classyllama.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehansen</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-442</link>
		<dc:creator>ehansen</dc:creator>
		<pubDate>Fri, 20 Aug 2010 15:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-442</guid>
		<description>@Steve - If our clients want to be able to edit all the stylesheets for a site, we generally provide them FTP access to our stage site so they can edit the CSS files directly.  Other clients don&#039;t want to edit existing stylesheets but want to be able to add small amounts of CSS ad-hoc. For those clients, we setup a &quot;Global CSS&quot; Static Content Block that we then output into style tags in the header of every page.</description>
		<content:encoded><![CDATA[<p>@Steve &#8211; If our clients want to be able to edit all the stylesheets for a site, we generally provide them FTP access to our stage site so they can edit the CSS files directly.  Other clients don&#8217;t want to edit existing stylesheets but want to be able to add small amounts of CSS ad-hoc. For those clients, we setup a &#8220;Global CSS&#8221; Static Content Block that we then output into style tags in the header of every page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-441</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 20 Aug 2010 07:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-441</guid>
		<description>@ehansen - If we can use Admin UI to edit CSS, that would be geat.
At this moment, I am try to find a way to use Admin UI to edit local.xml file. More like an Admin UI Layout design page for local.xml file.</description>
		<content:encoded><![CDATA[<p>@ehansen &#8211; If we can use Admin UI to edit CSS, that would be geat.<br />
At this moment, I am try to find a way to use Admin UI to edit local.xml file. More like an Admin UI Layout design page for local.xml file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehansen</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-440</link>
		<dc:creator>ehansen</dc:creator>
		<pubDate>Thu, 19 Aug 2010 23:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-440</guid>
		<description>@Bryce (aka SEM Truth) - When we build our Magento themes, anything that the client would want to update is either editable: via a Static Content Block or via the Translate Inline feature.  Ultimately, how manageable a site is determined by how well the theme is built.</description>
		<content:encoded><![CDATA[<p>@Bryce (aka SEM Truth) &#8211; When we build our Magento themes, anything that the client would want to update is either editable: via a Static Content Block or via the Translate Inline feature.  Ultimately, how manageable a site is determined by how well the theme is built.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEM Truth</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-439</link>
		<dc:creator>SEM Truth</dc:creator>
		<pubDate>Thu, 19 Aug 2010 18:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-439</guid>
		<description>It appears that Steve is looking to have an admin ui that would allow for certain changes should someone want to jump into the setup of their site and update the header without having to use FTP or editing parts of the xm files etc.

I agree that being able to edit the .css files through the admin would be an advantageous addition to the setup. Especially for web developers that want their clients to make certain changes without having to take the time to make updates that do not equate to enough hours or warrant a charge for such a small change.</description>
		<content:encoded><![CDATA[<p>It appears that Steve is looking to have an admin ui that would allow for certain changes should someone want to jump into the setup of their site and update the header without having to use FTP or editing parts of the xm files etc.</p>
<p>I agree that being able to edit the .css files through the admin would be an advantageous addition to the setup. Especially for web developers that want their clients to make certain changes without having to take the time to make updates that do not equate to enough hours or warrant a charge for such a small change.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehansen</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-438</link>
		<dc:creator>ehansen</dc:creator>
		<pubDate>Thu, 19 Aug 2010 14:09:42 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-438</guid>
		<description>@Steve - You can pretty much do anything via a custom module with Magento.  What exactly are you wanting to accomplish?</description>
		<content:encoded><![CDATA[<p>@Steve &#8211; You can pretty much do anything via a custom module with Magento.  What exactly are you wanting to accomplish?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-437</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 19 Aug 2010 05:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-437</guid>
		<description>Doing one page at a time is a lot of pain if you have thousands of pages.
It would be nice if we can do it once and it will update, say the header, on all the pages.
I don&#039;t know why Magento don&#039;t have  layout design pages for the header, footer, left column, and right column on the Admin panel.

If Magento does not support them natively, can we do it via a module?
I see following article:
http://stackoverflow.com/questions/949779/setting-a-global-variable-in-magento-the-gui-way
I haven&#039;t try it yet.

What are the easiest way to put the header, footer, left column, right column layout xmls on the Admin Panel?</description>
		<content:encoded><![CDATA[<p>Doing one page at a time is a lot of pain if you have thousands of pages.<br />
It would be nice if we can do it once and it will update, say the header, on all the pages.<br />
I don&#8217;t know why Magento don&#8217;t have  layout design pages for the header, footer, left column, and right column on the Admin panel.</p>
<p>If Magento does not support them natively, can we do it via a module?<br />
I see following article:<br />
<a href="http://stackoverflow.com/questions/949779/setting-a-global-variable-in-magento-the-gui-way" rel="nofollow">http://stackoverflow.com/questions/949779/setting-a-global-variable-in-magento-the-gui-way</a><br />
I haven&#8217;t try it yet.</p>
<p>What are the easiest way to put the header, footer, left column, right column layout xmls on the Admin Panel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehansen</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-436</link>
		<dc:creator>ehansen</dc:creator>
		<pubDate>Wed, 18 Aug 2010 16:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-436</guid>
		<description>@Steve - No, there&#039;s no way to edit the local.xml file from a native Magento installation.  Layout xml can be added to specific product/category/cms pages if you want to edit the layout for specific items.</description>
		<content:encoded><![CDATA[<p>@Steve &#8211; No, there&#8217;s no way to edit the local.xml file from a native Magento installation.  Layout xml can be added to specific product/category/cms pages if you want to edit the layout for specific items.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-435</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 16 Aug 2010 18:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-435</guid>
		<description>Great idea.

Is there anyway that we can edit such XML files via Magento&#039;s Admin Panel?
I am trying Magento 1.4.1</description>
		<content:encoded><![CDATA[<p>Great idea.</p>
<p>Is there anyway that we can edit such XML files via Magento&#8217;s Admin Panel?<br />
I am trying Magento 1.4.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-434</link>
		<dc:creator>Ross</dc:creator>
		<pubDate>Mon, 16 Aug 2010 12:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-434</guid>
		<description>Thanks for the helpful tip. I think this is a great way for managing adjustments to theme layouts.</description>
		<content:encoded><![CDATA[<p>Thanks for the helpful tip. I think this is a great way for managing adjustments to theme layouts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilles</title>
		<link>http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/comment-page-2/#comment-433</link>
		<dc:creator>Gilles</dc:creator>
		<pubDate>Mon, 16 Aug 2010 10:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://classyllama.com/?p=353#comment-433</guid>
		<description>@David: in short, you saved my life.
For testing purpose, i&#039;m playing with a clean new installation from SVN (~1.4.1.1). I didn&#039;t change anything in header.phtml. But i didn&#039;t change anything in, say, footer.phtml.
I didn&#039;t figure out that &lt;code&gt;echo $this-&gt;getChildHtml()&lt;/code&gt; doesn&#039;t exist in header.phtml.</description>
		<content:encoded><![CDATA[<p>@David: in short, you saved my life.<br />
For testing purpose, i&#8217;m playing with a clean new installation from SVN (~1.4.1.1). I didn&#8217;t change anything in header.phtml. But i didn&#8217;t change anything in, say, footer.phtml.<br />
I didn&#8217;t figure out that <code>echo $this-&gt;getChildHtml()</code> doesn&#8217;t exist in header.phtml.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
