<?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>by Ken Duret &#187; Custom Wordpress and Magento E Commerce Development</title>
	<atom:link href="http://kenduret.com/websites/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://kenduret.com/websites</link>
	<description>Custom web sites for your business or personal online presence.</description>
	<lastBuildDate>Wed, 27 Apr 2011 05:02:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A Real Magento Contact Page</title>
		<link>http://kenduret.com/websites/magento/a-real-magento-contact-page/</link>
		<comments>http://kenduret.com/websites/magento/a-real-magento-contact-page/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 07:51:58 +0000</pubDate>
		<dc:creator>Ken</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://kenduret.com/websites/?p=191</guid>
		<description><![CDATA[By default Magento has a very boring contact page that contains no company info. To remedy this for my clients I have been creating a static block where they can enter their contact information such as mailing address and phone numbers as well as adding images and any messages they would like. This is my [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://kenduret.com/websites/wp-content/uploads/2009/06/contacts-300x300.png" alt="contacts" title="contacts" width="300" height="300" class="alignleft size-medium wp-image-192" />By default Magento has a very boring contact page that contains no company info.  To remedy this for my clients I have been creating a static block where they can enter their contact information such as mailing address and phone numbers as well as adding images and any messages they would like. </p>
<p>This is my solution.<br />
<span id="more-191"></span><br />
Here&#8217;s a working example to check out: <a href="http://www.pir-tactical.com/contacts" target="_blank">Contact PIR Tactical</a> </p>
<p>To make this work we will be modifying the contacts.xml layout file to get the static block and then creating the static block under cms &#8211; static blocks in the admin.</p>
<h2>Edit Magento Layout XML File</h2>
<p>First, open the contacts.xml file located in app/design/frontend/default/YourTheme/layout/contacts.xml  I have been adding a cms static block named &#8220;contact-info&#8221; to the contact page layout so it appears above the contact form. </p>
<p>{code type=xml}<br />
<reference name="content"><br />
   <block type="cms/block" name="contact-info"><br />
      <action method="setBlockId"><block_id>contact-info</block_id></action><br />
   </block><br />
</reference><br />
{/code}</p>
<p>Save the new contacts.xml file and upload to your server.</p>
<h2>Add CMS Static Block</h2>
<p>Now log into your Magento Admin and go to CMS &#8211; Static Blocks.  Choose &#8220;Add New Block&#8221;  Name the block &#8220;Contact Info&#8221; and set the identifier to &#8220;contact-info&#8221; and then enable the block.  You can now enter any html you wish to your contact page above the contact form.  No reason you can&#8217;t add more information below the form using the same technique.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenduret.com/websites/magento/a-real-magento-contact-page/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

