<?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 Content</title>
</title>
	<atom:link href="http://www.semtruth.com/category/website-design/magento-tutorials/magento-content/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.semtruth.com</link>
	<description>Unveiling Online Marketing for Small Business</description>
	<lastBuildDate>Tue, 24 Aug 2010 00:07:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Customize the Content Layout on Magento Category Pages</title>
		<link>http://www.semtruth.com/customize-the-content-layout-on-magento-category-pages/</link>
		<comments>http://www.semtruth.com/customize-the-content-layout-on-magento-category-pages/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 21:10:58 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Content]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=261</guid>
		<description><![CDATA[Add content above and below Magento product listings using the Category Description available in 1.4, then updating where the static block displays on the category page when customizing the Display Settings to include both a static block and products. The main focus of being able to customize the content in Magento category pages was to [...]]]></description>
			<content:encoded><![CDATA[<p>Add content above and below Magento product listings using the Category Description available in 1.4, then updating where the static block displays on the category page when customizing the Display Settings to include both a static block and products.</p>
<p>The main focus of being able to customize the content in Magento category pages was to add the ability for me to be able to have an introductory paragraph of content, but also add additional content after the product listing. Thus I was able to add a foundation of custom content to main category pages without pushing the products further and further down the page.<span id="more-261"></span></p>
<p>First you will want to create a static block that will become the footer content for a category. Once created you can then update your category to call this static block. Navigate to the Category you want to include the content below the product listing and update the display settings. Under &#8216;Display Settings&#8217;, select &#8216;static block and products&#8217; from the Dsiplay Mode dropdown. Then select the name of the static block you created under the CMS Block dropdown.</p>
<p>This display the static block as well as the cateogry products on that category page. Currently most templates add the static black to the top of the category, we will update this.</p>
<p>While you are editing the category go ahead and add a description under the General Information tab for that category which we will leave as the introductory paragraph for the category.</p>
<p>Now we must simply update the layout of the product listing so that the CMS Static Block displays under the category listing.</p>
<p>Navigate and edit /public_html/app/design/frontend/blank/<strong>theme_folder</strong>/template/catalog/category/view.phtml</p>
<p>Find the line of code that reads:</p>
<blockquote><p>&lt;?php echo $this-&gt;getCmsBlockHtml() ?&gt;</p></blockquote>
<p>Currently it should be some where above the call to the Product List:</p>
<blockquote><p>&lt;?php echo $this-&gt;getProductListHtml() ?&gt;</p></blockquote>
<p>Move &lt;?php echo $this-&gt;getCmsBlockHtml() ?&gt; below, save, upload and refresh cache if necessary.</p>
<p>You should now see the category description above the product listing. Then when you scroll down the update to the category view.phtml file adds the static block content we added under the Display Settings tab.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/customize-the-content-layout-on-magento-category-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Extra Line Breaks Added To Magento Product Descriptions</title>
		<link>http://www.semtruth.com/removing-extra-line-breaks-added-to-magento-product-descriptions/</link>
		<comments>http://www.semtruth.com/removing-extra-line-breaks-added-to-magento-product-descriptions/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:32:54 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Content]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=192</guid>
		<description><![CDATA[In order to remove the extra line breaks that are added to Magento product descriptions. Simply update the following file: /app/design/frontend/base/default/template/catalog/product/view/description.phtml Edit the line nl2br($_description) to $_description, removing nl2br. The added line breaks were causing issues in Firefox when creating unordered lists and such as the list code would have an added line break, &#60;br&#62;, [...]]]></description>
			<content:encoded><![CDATA[<p>In order to remove the extra line breaks that are added to Magento product descriptions. Simply update the following file:</p>
<blockquote><p><code>/app/design/frontend/base/default/template/catalog/product/view/description.phtml</code></p></blockquote>
<p>Edit the line nl2br($_description) to $_description, removing nl2br.</p>
<p>The added line breaks were causing issues in Firefox when creating unordered lists and such as the list code would have an added line break, &lt;br&gt;, or what appeared to be line spacing added to each item within the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/removing-extra-line-breaks-added-to-magento-product-descriptions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add Custom Content to Magento Category Pages</title>
		<link>http://www.semtruth.com/add-custom-content-to-magento-category-pages/</link>
		<comments>http://www.semtruth.com/add-custom-content-to-magento-category-pages/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 20:36:46 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Content]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=155</guid>
		<description><![CDATA[For an updated variation on how to accomplish custom content on Magento Category pages, view this post &#62; Customize the Content Layout on Magento Category Pages When adding custom content to the category pages on your site, I find the category description to be very limiting and not necessarily give me the type of control [...]]]></description>
			<content:encoded><![CDATA[<p>For an updated variation on how to accomplish custom content on Magento Category pages, view this post &gt; <a title="Permanent Link to Customize the Content Layout on Magento Category Pages" rel="bookmark" href="../customize-the-content-layout-on-magento-category-pages/">Customize the Content Layout on Magento Category Pages</a></p>
<p>When adding custom content to the category pages on your site, I find the category description to be very limiting and not necessarily give me the type of control I want to have over how much content I can add to a page without pushing the products below the fold. This tutorial outlines how you can use Custom CMS Blocks to design the exact layout you desire for your category pages.</p>
<p>First you will want to create a static block that will end up replacing the category page setup.</p>
<p>CMS &gt; Static Block</p>
<p>Once created you may need to grab some of the template code in order to setup the static block so the text areas match the design of the template.</p>
<p>Personally I create an introductory paragraph followed by the product listings, then adding another section of content below the products that is more expansive and creates more unique content for my main category pages.  Simply update the cat_ID with the corresponding category products you want to display on this page, set the status to &#8216;Enabled&#8217; and save the CMS Custom Block.</p>
<blockquote><p>Content</p>
<p>{{block type=&#8221;catalog/product_list&#8221; column_count=&#8221;3&#8243;  category_id=&#8221;cat_ID&#8221; template=&#8221;catalog/product/list.phtml&#8221;}}</p>
<p>Content</p></blockquote>
<p>Now you can setup the category page to display the custom block you have created, rather then just using the category description as it limits your control over where you can implement content.</p>
<p>Catalog &gt; Manage Categories</p>
<p>Select the category and click on the Display Settings tab. Under Display Mode select Static Block only as we have used custom code to display the products between our content blocks. Now you simply have to select the CMS Block you created and save the changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/add-custom-content-to-magento-category-pages/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
