<?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>
	<atom:link href="http://www.semtruth.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.semtruth.com</link>
	<description>Unveiling Online Marketing for Small Business</description>
	<lastBuildDate>Tue, 20 Jul 2010 21:25:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>
		<item>
		<title>Magento 1.4.1.0 Upgrade Error</title>
		<link>http://www.semtruth.com/magento-1-4-1-0-upgrade-error/</link>
		<comments>http://www.semtruth.com/magento-1-4-1-0-upgrade-error/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 23:02:29 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Upgrade Fixes]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=226</guid>
		<description><![CDATA[Fatal error:  Call to a member function toHtml() on a non-object in /public_html/app/code/core/Mage/Core/Model/Layout.php on line 529
The line in page.xml that seems to cause the problem is
&#60;block type=&#8221;core/profiler&#8221; output=&#8221;toHtml&#8221;/&#62;
Magento now uses an updated call:
&#60;block type=&#8221;core/profiler&#8221; output=&#8221;toHtml&#8221; name=&#8221;core_profiler&#8221;/&#62;
This should be one of the initial changes that can get your site live and updated when upgrading to Magento [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Fatal error:  Call to a member function toHtml() on a non-object in /public_html/app/code/core/Mage/Core/Model/Layout.php on line 529</strong></p>
<p>The line in <strong>page.xml</strong> that seems to cause the problem is</p>
<blockquote><p>&lt;block type=&#8221;core/profiler&#8221; output=&#8221;toHtml&#8221;/&gt;</p></blockquote>
<p>Magento now uses an updated call:</p>
<blockquote><p>&lt;block type=&#8221;core/profiler&#8221; output=&#8221;toHtml&#8221; name=&#8221;core_profiler&#8221;/&gt;</p></blockquote>
<p>This should be one of the initial changes that can get your site live and updated when upgrading to Magento 1.4.1.0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/magento-1-4-1-0-upgrade-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom SEF Sidebar Navigation For Magento</title>
		<link>http://www.semtruth.com/custom-sef-sidebar-navigation-for-magento/</link>
		<comments>http://www.semtruth.com/custom-sef-sidebar-navigation-for-magento/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 01:46:20 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=222</guid>
		<description><![CDATA[I wanted to share a quick snippet of code that I created for adding a custom navigation section to your Magento left column area. I currently created this navigation area for a client to replace the layered navigation. The layered navigation has a lot of great features and organization but probably better severs as a [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to share a quick snippet of code that I created for adding a custom navigation section to your Magento left column area. I currently created this navigation area for a client to replace the layered navigation. The layered navigation has a lot of great features and organization but probably better severs as a multi -select drop down. Also in the previous versions of Magento the layered navigation was not search engine friendly.</p>
<p>This is not currently the case but I still find that there is not enough control over the category / subcategory display within the layered navigation. This custom navigation block could be used above some of the other build in features such as price, manufacturer etc. that is simple to accomplish with the layered navigation.</p>
<p>Also of note, I have found including other SEO centralized developers, that the layered navigation simply refreshs that page, so should you have content on the main category page, the layered navigation link creates confusion becuase the page content continues to display.<span id="more-222"></span></p>
<p>Overall the layered navigation should be used for non-search engine targeted categorization as mentioned &#8211; price, size, etc.</p>
<p>To create the custom navigation simply create a new file, such as custom-navigation.php. I uploaded by custom navigation into the following directory:</p>
<h3>app/design/frontend/blank/template/template/catalog/navigation</h3>
<p>I adapted the following navigation area from a Magento tutorial. However I have updated the navigation to include a number of specific features that work very well. The example below will give you an idea of how the custom navigation area is laid out.</p>
<p><strong>Products</strong></p>
<ul>
<li>subcat 1</li>
<li>subcat 2</li>
<li>subcat etc.</li>
</ul>
<p><strong>Currently Browsing</strong></p>
<ul>
<li>current category</li>
</ul>
<p><strong>Categories</strong></p>
<ul>
<li>main category 1</li>
<li>main category 2</li>
<li>main category 3</li>
<li>main category etc.</li>
</ul>
<p>Because I wanted to create a robust navigation bar I wanted to have control over what information was displayed and make both browsing and bouncing around within the site very affective. The following navigation code allowed me to accomplish this and works great in conjunction with main body category navigation.</p>
<p><strong>Custom Navigation Code:</strong></p>
<blockquote><p>&lt;?php</p>
<p>/**<br />
* Custom Nav<br />
*/</p>
<p>?&gt;</p>
<p>&lt;?php<br />
/* Get the categories that are active for the store */<br />
$_main_categories=$this-&gt;getStoreCategories();</p>
<p>/* Get the current category the user is in */<br />
$_current_category=$this-&gt;getCurrentCategory();</p>
<p>/* Get the current category path */<br />
$_categorypath = $this-&gt;getCurrentCategoryPath();<br />
?&gt;</p>
<p>&lt;div&gt;<br />
&lt;div&gt;<br />
&lt;div&gt;<br />
&lt;h2&gt;Shop by&lt;/h2&gt;<br />
&lt;/div&gt;<br />
&lt;div&gt;<br />
&lt;?php<br />
if ($_main_categories):<br />
/* This bit cycles through the categories &#8211; setting the next one to current */<br />
foreach ($_main_categories as $_main_category):<br />
if($_main_category-&gt;getIsActive()):<br />
$cur_category=Mage::getModel(&#8216;catalog/category&#8217;)-&gt;load($_main_category-&gt;getId());<br />
$layer = Mage::getSingleton(&#8216;catalog/layer&#8217;);<br />
$layer-&gt;setCurrentCategory($cur_category);<br />
?&gt;</p>
<p>&lt;?php<br />
/* Check the category variable loop against the current category path if it is &#8211; print sub categories */<br />
if (in_array($this-&gt;getCurrentCategory()-&gt;getId(), $_categorypath)): ?&gt;<br />
&lt;?php $_maincategorylisting=$this-&gt;getCurrentCategory()?&gt;<br />
&lt;?php $_categories=$this-&gt;getCurrentChildCategories()?&gt;<br />
&lt;?php if($_categories-&gt;count()):?&gt;</p>
<p>&lt;dl&gt;<br />
&lt;dt&gt;&lt;?php echo $this-&gt;__(&#8216;Products&#8217;) ?&gt;&lt;/dt&gt;<br />
&lt;ol&gt;<br />
&lt;? foreach ($_categories as $_category_link):?&gt;<br />
&lt;? if($_category_link-&gt;getIsActive()):<br />
$cur_subcategory=Mage::getModel(&#8216;catalog/category&#8217;)-&gt;load($_category_link-&gt;getId());<br />
$layer = Mage::getSingleton(&#8216;catalog/layer&#8217;);<br />
$layer-&gt;setCurrentCategory($cur_subcategory);</p>
<p>?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php echo $this-&gt;getCategoryUrl($_category_link)?&gt;&#8221;&gt; &lt;?php echo $_category_link-&gt;getName()?&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;? endif;?&gt;<br />
&lt;?endforeach?&gt;<br />
&lt;/ol&gt;<br />
&lt;/dl&gt;</p>
<p>&lt;?php /* This resets the category back to the original pages category<br />
****     If this is not done, subsequent calls on the same page will use the last category<br />
****    in the foreach loop<br />
*/   ?&gt;<br />
&lt;?php $layer-&gt;setCurrentCategory($_current_category);  ?&gt;<br />
&lt;?endif;?&gt;</p>
<p>&lt;dl&gt;<br />
&lt;dt&gt;&lt;?php echo $this-&gt;__(&#8216;Currently Browsing&#8217;) ?&gt;&lt;/dt&gt;<br />
&lt;ol&gt;<br />
&lt;? /* Current Category */  ?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php echo $this-&gt;getCurrentCategory()-&gt;getUrl()?&gt;&#8221;&gt;&lt;?php echo $this-&gt;getCurrentCategory()-&gt;getName();?&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ol&gt;<br />
&lt;/dl&gt;</p>
<p>&lt;?endif;?&gt;</p>
<p>&lt;?php<br />
endif;<br />
endforeach;?&gt;</p>
<p>&lt;?php $layer-&gt;setCurrentCategory($_current_category);  ?&gt;<br />
&lt;?else:<br />
?&gt;<br />
&lt;p&gt;Continue Broswing&lt;/p&gt;<br />
&lt;?php endif; ?&gt;</p>
<p>&lt;dl&gt;<br />
&lt;dt&gt;&lt;?php echo $this-&gt;__(&#8216;Categories&#8217;) ?&gt;&lt;/dt&gt;<br />
&lt;ol&gt;<br />
&lt;?php<br />
if ($_main_categories):<br />
/* This bit cycles through the categories &#8211; setting the next one to current */<br />
foreach ($_main_categories as $_main_category):<br />
if($_main_category-&gt;getIsActive()):<br />
$cur_category=Mage::getModel(&#8216;catalog/category&#8217;)-&gt;load($_main_category-&gt;getId());<br />
$layer = Mage::getSingleton(&#8216;catalog/layer&#8217;);<br />
$layer-&gt;setCurrentCategory($cur_category);</p>
<p>/* Write the main categories */<br />
?&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;&lt;?php echo $this-&gt;getCurrentCategory()-&gt;getUrl()?&gt;&#8221;&gt;&lt;?php echo $this-&gt;getCurrentCategory()-&gt;getName();?&gt;&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;?php /* This resets the category back to the original pages category<br />
****     If this is not done, subsequent calls on the same page will use the last category<br />
****    in the foreach loop<br />
*/   ?&gt;<br />
&lt;?php $layer-&gt;setCurrentCategory($_current_category);  ?&gt;</p>
<p>&lt;?php<br />
endif;<br />
endforeach;<br />
else:<br />
?&gt;<br />
&lt;p&gt;Continue Broswing&lt;/p&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;/ol&gt;<br />
&lt;/dl&gt;</p>
<p>&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>Next you will want to call the custom navigation from either a static block or layout file. Personally I usually do both because I may need a static block in the left sidebar for a number of reasons. In order to have control over easily adding content I simply call a static block from the left layout block</p>
<h3>app/design/frontend/blank/theme110/layout/catalog.xml</h3>
<p>&lt;block type=&#8221;cms/block&#8221; name=&#8221;custom_navigation&#8221; before=&#8221;-&#8221;&gt;<br />
&lt;action method=&#8221;setBlockId&#8221;&gt;&lt;block_id&gt;custom_navigation&lt;/block_id&gt;&lt;/action&gt;<br />
&lt;/block&gt;</p>
<p>If you have not already done so, create a static block with the identifier &#8211; custom_navigation. Within the static block you can now easily reference the custom navigation template file:</p>
<blockquote><p>{{block type=&#8217;catalog/navigation&#8217; name=&#8217;customNav&#8217; template=&#8217;catalog/navigation/custom-navigation.phtml&#8217;}}</p></blockquote>
<p>Save the changes and view the custom navigation.</p>
<p>Now should you want to update the custom navigation static block to include sale information or something of that nature you have a more robust area already created to customize.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/custom-sef-sidebar-navigation-for-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make &#8216;Ship to This Address&#8217; Default Option During Magento Checkout</title>
		<link>http://www.semtruth.com/make-ship-to-this-address-default-option-during-magento-checkout/</link>
		<comments>http://www.semtruth.com/make-ship-to-this-address-default-option-during-magento-checkout/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 18:16:34 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Billing]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=196</guid>
		<description><![CDATA[As you may uncover there are a number of obvious changes that need to be made to the Magento core code. The default shipping option being one of them, this may in fact be yet another change that you would want to record and check during any upgrades as the code change is made to [...]]]></description>
			<content:encoded><![CDATA[<p>As you may uncover there are a number of obvious changes that need to be made to the Magento core code. The default shipping option being one of them, this may in fact be yet another change that you would want to record and check during any upgrades as the code change is made to the core code of Magento.</p>
<p>Navigate to &#8211; app/code/core/Mage/Checkout/Block/Onepage/Billing.php</p>
<p>To update the default shipping option to &#8216;Ship to this Adress&#8217; simply edit the core magento file located on your server:</p>
<p><strong>Replace:</strong></p>
<blockquote><p>public function isUseBillingAddressForShipping()<br />
{<br />
if (($this-&gt;getQuote()-&gt;getIsVirtual()) || !$this-&gt;getQuote()-&gt;getShippingAddress()-&gt;getSameAsBilling())<br />
{<br />
return false;<br />
}<br />
return true;<br />
}</p></blockquote>
<p><strong>With:</strong></p>
<blockquote><p>public function isUseBillingAddressForShipping()<br />
{<br />
if (($this-&gt;getQuote()-&gt;getIsVirtual()) || (!$this-&gt;getQuote()-&gt;getShippingAddress()-&gt;getSameAsBilling()))<br />
{<br />
return true;<br />
} else {<br />
return false;<br />
}<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/make-ship-to-this-address-default-option-during-magento-checkout/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;, or what appeared [...]]]></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>0</slash:comments>
		</item>
		<item>
		<title>Google Analytics Bug Fix for Magento 1.4.0.1</title>
		<link>http://www.semtruth.com/google-analytics-bug-fix-for-magento-1-4-0-1/</link>
		<comments>http://www.semtruth.com/google-analytics-bug-fix-for-magento-1-4-0-1/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 23:53:24 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Upgrade Fixes]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=175</guid>
		<description><![CDATA[In installing Google Analytics you may notice that your account remains in a waiting to receive data state. Although Google Analytics has been recognized and installed correctly a small correction must be made to the source code of the Mage code.
You will want to edit the following file:
app/code/core/Mage/GoogleAnalytics/Block/Ga.php
&#8230;And add this simple line of code to [...]]]></description>
			<content:encoded><![CDATA[<p>In installing Google Analytics you may notice that your account remains in a waiting to receive data state. Although Google Analytics has been recognized and installed correctly a small correction must be made to the source code of the Mage code.</p>
<p>You will want to edit the following file:<br />
app/code/core/Mage/GoogleAnalytics/Block/Ga.php</p>
<p>&#8230;And add this simple line of code to line 179 in order to resolve the issue.</p>
<blockquote><p>var _gaq = _gaq || [];</p></blockquote>
<p>This issue has been reported and resolved already by the Magento Team through <a title="Issue #21456" href="http://www.magentocommerce.com/bug-tracking/issue?issue=8658">Issue #21456</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/google-analytics-bug-fix-for-magento-1-4-0-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Change an Existing Products Attribute Set in Magento</title>
		<link>http://www.semtruth.com/how-to-change-an-existing-products-attribute-set-in-magento/</link>
		<comments>http://www.semtruth.com/how-to-change-an-existing-products-attribute-set-in-magento/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 16:55:51 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=170</guid>
		<description><![CDATA[Unfortunately Magento does not have the function built into its setup to allow you the option to change a products attribute set once you have created a simple product. However, with the following coding updates, you can add the functionality to change a simple products attribute set directly on the Catalog &#62; Manage Products page:
In [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately Magento does not have the function built into its setup to allow you the option to change a products attribute set once you have created a simple product. However, with the following coding updates, you can add the functionality to change a simple products attribute set directly on the Catalog &gt; Manage Products page:</p>
<p>In app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php around line 253  ad:</p>
<blockquote><p>$sets =  Mage::getResourceModel(&#8216;eav/entity_attribute_set_collection&#8217;)<br />
-&gt;setEntityTypeFilter(Mage::getModel(&#8216;catalog/product&#8217;)<br />
-&gt;getResource()-&gt;getTypeId())-&gt;load()-&gt;toOptionHash();</p>
<p>array_unshift($statuses, array(&#8216;label&#8217;=&gt;&#8221;, &#8216;value&#8217;=&gt;&#8221;));<br />
$this-&gt;getMassactionBlock()-&gt;addItem(&#8216;attribute_set&#8217;, array(<br />
&#8216;label&#8217;=&gt; Mage::helper(&#8216;catalog&#8217;)-&gt;__(&#8216;Change attribute set&#8217;),<br />
&#8216;url&#8217; =&gt; $this-&gt;getUrl(&#8216;*/*/massAttributeSet&#8217;,  array(&#8216;_current&#8217;=&gt;true)),<br />
&#8216;additional&#8217; =&gt; array(<br />
&#8216;visibility&#8217;  =&gt; array(<br />
&#8216;name&#8217; =&gt; &#8216;attribute_set&#8217;,<br />
&#8216;type&#8217; =&gt; &#8217;select&#8217;,<br />
&#8216;class&#8217; =&gt; &#8216;required-entry&#8217;,<br />
&#8216;label&#8217; =&gt;  Mage::helper(&#8216;catalog&#8217;)-&gt;__(&#8216;Attribute Set&#8217;),<br />
&#8216;values&#8217; =&gt; $sets<br />
)<br />
)<br />
));</p></blockquote>
<p>And then in  app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php (anywhere  in the class) add a new function:</p>
<blockquote><p>public function  massAttributeSetAction(){</p>
<p>$productIds =  $this-&gt;getRequest()-&gt;getParam(&#8216;product&#8217;);<br />
$storeId =  (int)$this-&gt;getRequest()-&gt;getParam(&#8217;store&#8217;, 0);<br />
if(!is_array($productIds)) {<br />
$this-&gt;_getSession()-&gt;addError($this-&gt;__(&#8216;Please select  product(s)&#8217;));<br />
} else {<br />
try {<br />
foreach ($productIds as $productId) {<br />
$product = Mage::getSingleton(&#8216;catalog/product&#8217;)<br />
-&gt;unsetData()<br />
-&gt;setStoreId($storeId)<br />
-&gt;load($productId)<br />
-&gt;setAttributeSetId($this-&gt;getRequest()-&gt;getParam(&#8216;attribute_set&#8217;))<br />
-&gt;setIsMassupdate(true)<br />
-&gt;save();<br />
}<br />
Mage::dispatchEvent(&#8216;catalog_product_massupdate_after&#8217;,  array(&#8216;products&#8217;=&gt;$productIds));<br />
$this-&gt;_getSession()-&gt;addSuccess(<br />
$this-&gt;__(&#8216;Total of %d record(s) were successfully updated&#8217;,  count($productIds)));<br />
} catch (Exception $e) {<br />
$this-&gt;_getSession()-&gt;addError($e-&gt;getMessage());<br />
}<br />
}</p>
<p>$this-&gt;_redirect(&#8216;*/*/&#8217;,  array(&#8217;store&#8217;=&gt;(int)$this-&gt;getRequest()-&gt;getParam(&#8217;store&#8217;, 0)));<br />
}</p></blockquote>
<p>Once you have added the two snippets of code you will now be able to select products from teh Manage Products list and update any products Attribute Set from the actions dropdown menu.</p>
<p>Simply Select &#8216;Change Attribute Set&#8217; and select the appropriate attribute set from the new dropdown menu that appears to the right of Actions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/how-to-change-an-existing-products-attribute-set-in-magento/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pagination Update for Magento 1.4</title>
		<link>http://www.semtruth.com/pagination-update-for-magento-1-4/</link>
		<comments>http://www.semtruth.com/pagination-update-for-magento-1-4/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 20:26:52 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Upgrade Fixes]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=161</guid>
		<description><![CDATA[With the update to Magento 1.4 comes a quick fix to the template file in order to allow your product listings to properly display the subpages or pagination for products.
In order to properly implement pagination into your product listings again, you must simply update your catalog.xml template file located in the layout directory of your [...]]]></description>
			<content:encoded><![CDATA[<p>With the update to Magento 1.4 comes a quick fix to the template file in order to allow your product listings to properly display the subpages or pagination for products.</p>
<p>In order to properly implement pagination into your product listings again, you must simply update your catalog.xml template file located in the layout directory of your template folder:</p>
<p>app/design/frontend/<strong>your-template</strong>/layout/catalog.xml</p>
<p>Add the follow code to properly call the pagination setup in the pager.phtml file:</p>
<p style="padding-left: 30px;">&lt;block type=&#8221;page/html_pager&#8221; name=&#8221;product_list_toolbar_pager&#8221;/&gt;</p>
<p>Simply look for the toolbar.phtml block and paste in the pager block.</p>
<p style="padding-left: 30px;">&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 />
<span style="color: #0000ff;">&lt;block type=&#8221;page/html_pager&#8221; name=&#8221;product_list_toolbar_pager&#8221;/&gt;</span><br />
&lt;/block&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/pagination-update-for-magento-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Related Products to Magento</title>
		<link>http://www.semtruth.com/adding-related-products-to-magento/</link>
		<comments>http://www.semtruth.com/adding-related-products-to-magento/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 20:51:49 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Search Engine Marketing]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=159</guid>
		<description><![CDATA[The step that I found most useful here was that you had to setup the drop down menu to &#8216;Any&#8217; when searching for the product(s) you want to relate to a given product. Otherwise nothing shows when trying to search your product catalog.

]]></description>
			<content:encoded><![CDATA[<p>The step that I found most useful here was that you had to setup the drop down menu to &#8216;Any&#8217; when searching for the product(s) you want to relate to a given product. Otherwise nothing shows when trying to search your product catalog.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/BJALbFtwHtY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/BJALbFtwHtY&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/adding-related-products-to-magento/feed/</wfw:commentRss>
		<slash:comments>0</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[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 [...]]]></description>
			<content:encoded><![CDATA[<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. 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 blog 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>1</slash:comments>
		</item>
	</channel>
</rss>
