<?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></title>
</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>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>bbPress 2.0 (plugin) &#8211; Adding User Role to Replies</title>
		<link>http://www.semtruth.com/bbpress-2-0-plugin-adding-user-role-to-replies/</link>
		<comments>http://www.semtruth.com/bbpress-2-0-plugin-adding-user-role-to-replies/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 19:21:30 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[bbPress]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=371</guid>
		<description><![CDATA[In bbPress 2.0, the recent plugin version, that comes packed with the twentyten bbPress theme, I noticed that a role was not being displayed within the topic reply template. I ended up adapting the core design from twentyten to WooThemes Canvas and felt the forum role was an essential aspect that was missing. I came [...]]]></description>
			<content:encoded><![CDATA[<p>In bbPress 2.0, the recent plugin version, that comes packed with the twentyten bbPress theme, I noticed that a role was not being displayed within the topic reply template.</p>
<p>I ended up adapting the core design from twentyten to WooThemes Canvas and felt the forum role was an essential aspect that was missing.</p>
<p>I came up with a quick solution but perhaps you can contribute a more dynamic solution for removing the bbp_ prefix that is included when simply displaying a bbPress Role.</p>
<p><strong>Here is what I came up with:</strong></p>
<p><code></p>
<div class="bbp-user-role">
					<?php //bbp_author_role( bbp_get_reply_id() );</p>
<p>						$user_id = bbp_get_reply_author_id();</p>
<p>						$user = new WP_User( $user_id );</p>
<p>						if ( !empty( $user->roles ) &#038;&#038; is_array( $user->roles ) ) {<br />
							foreach ( $user->roles as $role )<br />
								if ( $role == bbp_moderator ) {<br />
									echo 'Moderator';<br />
								} elseif ( $role == bbp_participant ) {<br />
									echo 'Participant';<br />
								} else {<br />
									echo $role;<br />
								}<br />
						}</p>
<p>					?>
				</p></div>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/bbpress-2-0-plugin-adding-user-role-to-replies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing Images From External URL into Magento</title>
		<link>http://www.semtruth.com/importing-images-from-external-url-into-magento/</link>
		<comments>http://www.semtruth.com/importing-images-from-external-url-into-magento/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 23:17:41 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Magento Products]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=343</guid>
		<description><![CDATA[There are occasions where you might not have access to downloading the images from your current setup into the Magento or it is simply easier to reference the current file path on an external URL. The following snipet will add the ability for you to grab images from an external URL when importing products through [...]]]></description>
			<content:encoded><![CDATA[<p>There are occasions where you might not have access to downloading the images from your current setup into the Magento or it is simply easier to reference the current file path on an external URL. The following snipet will add the ability for you to grab images from an external URL when importing products through a data feed. Rather then setting up the image column within the data feed with /image-name.jpg you can now use the full URL path http://www.domain.com/image-name.jpg as an example.</p>
<p>Download the following file &#8211; app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php and search for the following section of code:</p>
<p>foreach ($imageData as $file => $fields) {<br />
            try {<br />
        $product->addImageToMediaGallery(Mage::getBaseDir(&#8216;media&#8217;) . DS . &#8216;import&#8217; . $html_filename, $fields);<br />
            }<br />
            catch (Exception $e) {}<br />
        } </p>
<p>Comment out the previous section of code or replace tit with the following:</p>
<p>foreach ($imageData as $file => $fields) {<br />
        $path_parts = pathinfo($file);<br />
        $html_filename = DS . $path_parts['basename'];<br />
        $fullpath = Mage::getBaseDir(&#8216;media&#8217;) . DS . &#8216;import&#8217; . $html_filename;<br />
        try {<br />
        $ch = curl_init ($file);<br />
            curl_setopt($ch, CURLOPT_HEADER, 0);<br />
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br />
                curl_setopt($ch, CURLOPT_BINARYTRANSFER,1);<br />
                $rawdata=curl_exec($ch);<br />
            curl_close ($ch);<br />
                if(file_exists($fullpath)) {<br />
            unlink($fullpath);<br />
            }<br />
            $fp = fopen($fullpath,&#8217;x');<br />
                fwrite($fp, $rawdata);<br />
                fclose($fp);<br />
        }<br />
        catch (Exception $e) {}<br />
            try {<br />
        $product->addImageToMediaGallery(Mage::getBaseDir(&#8216;media&#8217;) . DS . &#8216;import&#8217; . $html_filename, $fields);<br />
            }<br />
            catch (Exception $e) {}<br />
        }</p>
<p>Upload the updated Product.php file to into your local setup to prevent overwriting during upgrades &#8211; app/code/local/Mage/Catalog/Model/Convert/Adapter/Product.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/importing-images-from-external-url-into-magento/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Selecting Custom Magento Transactional Emails</title>
		<link>http://www.semtruth.com/selecting-custom-magento-transactional-emails/</link>
		<comments>http://www.semtruth.com/selecting-custom-magento-transactional-emails/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 07:06:36 +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=332</guid>
		<description><![CDATA[For reference, these are the places the transactional e-mails can be adjusted: General: Currency Setup &#8211; Scheduled Import Settings * Contacts &#8211; Email Options Catalog: Catalog &#8211; Product Alerts Google Sitemap &#8211; Generation Settings * Email to a Friend &#8211; Email templates Customers: * Newsletter &#8211; Subscription Options * Customer Configuration &#8211; Create New Account [...]]]></description>
			<content:encoded><![CDATA[<p>For reference, these are the places the transactional e-mails can be adjusted:</p>
<p><strong>General:</strong><br />
Currency Setup &#8211; Scheduled Import Settings<br />
* Contacts &#8211; Email Options</p>
<p><strong>Catalog:</strong><br />
Catalog &#8211; Product Alerts<br />
Google Sitemap &#8211; Generation Settings<br />
* Email to a Friend &#8211; Email templates</p>
<p><strong>Customers:</strong><br />
* Newsletter &#8211; Subscription Options<br />
* Customer Configuration &#8211; Create New Account Options<br />
* Wishlist &#8211; Share options</p>
<p><strong>Sales:</strong><br />
* Sales Emails &#8211; Order<br />
* Sales Emails &#8211; Order Comments<br />
* Sales Emails &#8211; Invoice<br />
* Sales Emails &#8211; Invoice Comments<br />
* Sales Emails &#8211; Shipment<br />
* Sales Emails &#8211; Shipment Comments<br />
* Sales Emails &#8211; Credit Memo<br />
* Sales Emails &#8211; Credit Memo Comments<br />
Checkout &#8211; Payment Failed Emails</p>
<p><strong>Advanced:</strong><br />
Admin &#8211; Admin User Emails<br />
System &#8211; Log Cleaning</p>
<p><em>(* Per storeview/language) </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/selecting-custom-magento-transactional-emails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test Credit Card Numbers</title>
		<link>http://www.semtruth.com/test-credit-card-numbers/</link>
		<comments>http://www.semtruth.com/test-credit-card-numbers/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 23:53: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=323</guid>
		<description><![CDATA[Credit card numbers that can be used to test Magneto&#8217;s connection with Authorize.net in test mode. American Express Card Number 370000000000002 Expiration 05/2011 Vcode 1111]]></description>
			<content:encoded><![CDATA[<p>Credit card numbers that can be used to test Magneto&#8217;s connection with Authorize.net in test mode.</p>
<p><strong>American Express</strong></p>
<p><strong>Card Number</strong> 370000000000002<br />
<strong>Expiration</strong> 05/2011<br />
<strong>Vcode</strong> 1111</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/test-credit-card-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful WordPress Template Updates</title>
		<link>http://www.semtruth.com/useful-wordpress-template-updates/</link>
		<comments>http://www.semtruth.com/useful-wordpress-template-updates/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 01:52:00 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Website Design]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=301</guid>
		<description><![CDATA[A continual collection of WordPress template and code changes that I find useful when designing and developing WordPress blogs. Body Class Reference Especially when developing a number of custom elements on specific pages of your site you will want to be able to call that specific page or body class using the following update to [...]]]></description>
			<content:encoded><![CDATA[<p>A continual collection of WordPress template and code changes that I find useful when designing and developing WordPress blogs.</p>
<h3>Body Class Reference</h3>
<p>Especially when developing a number of custom elements on specific pages of your site you will want to be able to call that specific page or body class using the following update to the header.php file</p>
<p><strong>Replace</strong></p>
<blockquote><p>&lt;body&gt;</p></blockquote>
<p><strong>With</strong></p>
<blockquote><p><code>&lt;body &lt;?php body_class( $class ); ?&gt;&gt;<br />
</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/useful-wordpress-template-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling Your WordPress Page List</title>
		<link>http://www.semtruth.com/styling-your-wordpress-page-list/</link>
		<comments>http://www.semtruth.com/styling-your-wordpress-page-list/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 18:36:57 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Website Design]]></category>
		<category><![CDATA[Wordpress Tutorials]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=296</guid>
		<description><![CDATA[In customizing WordPress navigation bards I have found it increasingly important to continue to add addition html into such WordPress functions as a simple page list. As as example I sought to add a &#60;span&#62; before and after each link in a standard page list. I have come across two solid solutions. One being a [...]]]></description>
			<content:encoded><![CDATA[<p>In customizing WordPress navigation bards I have found it increasingly important to continue to add addition html into such WordPress functions as a simple page list. As as example I sought to add a &lt;span&gt; before and after each link in a standard page list.</p>
<p>I have come across two solid solutions. One being a custom page list:</p>
<pre><code>&lt;ul&gt;
  &lt;?php $list = wp_list_pages('echo=0&amp;title_li=');
  $list = str_replace('&lt;a ','&lt;span&gt;&lt;a ',$list);
  $list = str_replace('&lt;/a&gt; ','&lt;/a&gt;&lt;/span&gt;',$list);
  echo $list; ?&gt;
&lt;/ul&gt;</code>

However the second solution is a simple update to the wordpress page list that is already commonly used throughout wordpress template files:
<code>
&lt;ul&gt;
&lt;?php wp_list_pages('title_li=&amp;depth=1&amp;link_before=&lt;span&gt;&amp;link_after=&lt;/span&gt;'); ?&gt;
&lt;/ul&gt;</code>

You may want to also include the additional sort order function when adding the page list to your blog's setup:
<code>
&lt;ul&gt;
&lt;?php wp_list_pages('sort_column=menu_order&amp;title_li=&amp;depth=1&amp;link_before=&lt;span&gt;&amp;link_after=&lt;/span&gt;'); ?&gt;
&lt;/ul&gt;</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/styling-your-wordpress-page-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why SEO is NOT Important for Blogs</title>
		<link>http://www.semtruth.com/why-seo-is-not-important-for-blogs/</link>
		<comments>http://www.semtruth.com/why-seo-is-not-important-for-blogs/#comments</comments>
		<pubDate>Sat, 25 Sep 2010 01:01:03 +0000</pubDate>
		<dc:creator>SEM Truth</dc:creator>
				<category><![CDATA[Business Blogging]]></category>
		<category><![CDATA[Search Engine Marketing]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.semtruth.com/?p=293</guid>
		<description><![CDATA[Blogging is about creating a continual steady stream of information and building your blog as a source of information related to your market. Other then the traditional SEO functions such as SEF URLs, post titles, relevant content and auto-populated description tags there is little importance in keyword stuffing meta tags or any other &#8216;traditional&#8217; technique [...]]]></description>
			<content:encoded><![CDATA[<p>Blogging is about creating a continual steady stream of information and building your blog as a source of information related to your market.</p>
<p>Other then the traditional SEO functions such as SEF URLs, post titles, relevant content and auto-populated description tags there is little importance in keyword stuffing meta tags or any other &#8216;traditional&#8217; technique of optimizing a website. Any blog design should already include a number of the beneficial aspects of SEO including H tags as the basis of your individual post page titles as well as any post information that you include.</p>
<p>Because blogs do not primarily focus on building exposure for a single post or page SEO aspects such as keyword density and such simply lose their overall value. If you are creating articles about relevant topics you are most likely naturally including keyword rich content so the focus of your blog becomes more about writing articles on interesting topics and utilizing social media avenues such as social bookmarking sites to increase the exposure of your blog posts and link popularity of your blog on a whole.</p>
<p>Technically you could consider optimizing the main category pages of your blog, but again, optimization on a page by page basis is not the focus of the blog itself as streamlining your blogging process is gravely important as you look to post on a daily basis. SEO overall is most beneficial for static informational or product pages on a site where you are looking to increase that specific pages exposure.</p>
<p>In blogging and building relevant information pertaining to that page&#8217;s focus you will most likely look to expand upon the information you offer pertaining to that page whether it be news, product breakdowns, reviews or any other important topics surrounding your focus.</p>
<p>Blog platforms are also a very diverse and powerful platform. WordPress has extensive plugins for everything from creating a review site to building your own social media platform. Especially if you are looking to utilize your blog as a way to build link popularity and increased exposure for your ,posting and social bookmarking become the most streamlined way of accomplishing this. Since link building, in my opinion, is not a traditional aspect of SEO, no single SEO technique outweighs the fundamental reason a blog is created and why any business needs to get involved in social media with their business blog as the hub.</p>
<p>Any website on the other hand should have key components in place in order to target visibility in any major search engines. Contradictory to popular belief, more focus should be placed on categorization and the overall setup of your site not keyword stuffing.</p>
<p>Only once you have established a solid setup will the true benefits of building link popularity be seen through your website&#8217;s natural search engine listings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semtruth.com/why-seo-is-not-important-for-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>3</slash:comments>
		</item>
		<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>
	</channel>
</rss>

