<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SEM Truth<title> &#187; Magento Layout Updates</title>
</title>
	<atom:link href="http://www.semtruth.com/category/website-design/magento-tutorials/magento-layout-updates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.semtruth.com</link>
	<description>Unveiling Online Marketing for Small Business</description>
	<lastBuildDate>Thu, 10 Nov 2011 19:23:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Add Pagination In Product Listings</title>
		<link>http://www.semtruth.com/add-pagination-in-product-listings/</link>
		<comments>http://www.semtruth.com/add-pagination-in-product-listings/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 02:20:02 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Layout Updates]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=250</guid>
		<description><![CDATA[I have noticed on a number of Magento websites that I have been designing, don&#8217;t include the pagination or pager links within the category listings. To remedy this oversight, simply update catalog.xml to include call to pager.phtml file wiht the following code: &#60;block type=&#8221;page/html_pager&#8221; name=&#8221;product_list_toolbar_pager&#8221;/&#62; You will want to locate the reference to the Product [...]]]></description>
			<content:encoded><![CDATA[<p>I have noticed on a number of Magento websites that I have been designing, don&#8217;t include the pagination or pager links within the category listings. To remedy this oversight, simply<strong> </strong>update catalog.xml to include call to pager.phtml file wiht the following code:</p>
<blockquote><p>&lt;block type=&#8221;page/html_pager&#8221; name=&#8221;product_list_toolbar_pager&#8221;/&gt;</p></blockquote>
<p>You will want to locate the reference to the Product List Toolbar and updated to match the following:</p>
<blockquote><p>&lt;block type=&#8221;catalog/product_list_toolbar&#8221; name=&#8221;product_list_toolbar&#8221; template=&#8221;catalog/product/list/toolbar.phtml&#8221;&gt;<br />
&lt;block type=&#8221;page/html_pager&#8221; name=&#8221;product_list_toolbar_pager&#8221;/&gt;<br />
&lt;/block&gt;</p></blockquote>
<p>Just place the pager reference inside the Product List Toolbar and you are set. Rememeber to refresh your cache before trying to view the live changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/add-pagination-in-product-listings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert a Custom Block into Magento Template File</title>
		<link>http://www.semtruth.com/insert-a-custom-block-into-magento-template-file/</link>
		<comments>http://www.semtruth.com/insert-a-custom-block-into-magento-template-file/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 16:27:08 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Layout Updates]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=246</guid>
		<description><![CDATA[As apposed to creating / adding a block to one of your Magento theme files, working directly in one of the template or .phtml files is a better way to call a static block. In continuing to develop and learn Magento I have made a number of discoveries that help clarify how to work within [...]]]></description>
			<content:encoded><![CDATA[<p>As apposed to creating / adding a block to one of your Magento theme files, working directly in one of the template or .phtml files is a better way to call a static block.</p>
<p>In continuing to develop and learn Magento I have made a number of discoveries that help clarify how to work within the setup of Magento. In most cases when looking to customize a given page, I was directed to making updates to the Layout .xml files.</p>
<p>However if I was looking to simply add a static block to a specific section of a template file, creating a static block to the appropriate .xml file would simply add the static block above or below a given area.</p>
<p>The following code for example, would add the contact_intro above my contact form, but in the setup of that page, I wanted the contact_intro to integrate into a specific section of the fonrm.phtml template. This was not possible by updating the contacts.xml file as follows:</p>
<blockquote><p>&lt;reference name=&#8221;content&#8221;&gt;<br />
&lt;block type=&#8221;cms/block&#8221; name=&#8221;contact_intro&#8221;&gt;<br />
&lt;action method=&#8221;setBlockId&#8221;&gt;&lt;block_id&gt;contact_intro&lt;/block_id&gt;&lt;/action&gt;<br />
&lt;/block&gt;<br />
&lt;block type=&#8221;core/template&#8221; name=&#8221;contactForm&#8221; template=&#8221;contacts/form.phtml&#8221;/&gt;<br />
&lt;/reference&gt;</p></blockquote>
<p>Instead I needed to update the form.phtml file directly. Where I could place the contact_intro directly into the setup of the contacts page html:</p>
<blockquote><p>&lt;?php echo $this-&gt;getLayout()-&gt;createBlock(&#8216;cms/block&#8217;)-&gt;setBlockId(&#8216;contact_intro&#8217;)-&gt;toHtml() ?&gt;</p></blockquote>
<p>Now I do not have two seperate blocks, when trying to add a block to the layout file. I have placed the static block exactly where I want it to be called within the contacts page.</p>
<p>I hope this helps clear things up as it has for me when trying to accomplish certain <a title="Magento layout updates" href="http://www.semtruth.com/category/website-design/magento-tutorials/magento-layout-updates/">Magento layout updates</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/insert-a-custom-block-into-magento-template-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Sidebar Callouts in Magento Layout</title>
		<link>http://www.semtruth.com/remove-sidebar-callouts-in-magento-layout/</link>
		<comments>http://www.semtruth.com/remove-sidebar-callouts-in-magento-layout/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 21:18:04 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Layout Updates]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=231</guid>
		<description><![CDATA[Here are a coupe of quick references for removing sidebar callouts in either a template/layout .xml file or custom page Layout per page. I used the following to remove some unwanted blocks from the homepage sidebar by updating the XML Layout for the homepage under the Design tab, such as the cart which is unnecessary [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a coupe of quick references for removing sidebar callouts in either a template/layout .xml file or custom page Layout per page. I used the following to remove some unwanted blocks from the homepage sidebar by updating the XML Layout for the homepage under the Design tab, such as the cart which is unnecessary on a website homepage.</p>
<blockquote><p>&lt;reference name=&#8221;right&#8221;&gt;<br />
&lt;action method=&#8221;unsetChild&#8221;&gt;&lt;name&gt;cart_sidebar&lt;/name&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;unsetChild&#8221;&gt;&lt;name&gt;catalog.compare.sidebar&lt;/name&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;unsetChild&#8221;&gt;&lt;name&gt;right.reports.product.viewed&lt;/name&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;unsetChild&#8221;&gt;&lt;name&gt;right.permanent.callout&lt;/name&gt;&lt;/action&gt;<br />
&lt;/reference&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/remove-sidebar-callouts-in-magento-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

