<?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>MagJournal &#187; Design</title>
	<atom:link href="http://www.magjournal.com/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magjournal.com</link>
	<description>Magento Insider Journal</description>
	<lastBuildDate>Sat, 16 Jul 2011 22:32:13 +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>Using Cufon in Magento</title>
		<link>http://www.magjournal.com/2011/04/using-cufon-in-magento/</link>
		<comments>http://www.magjournal.com/2011/04/using-cufon-in-magento/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 18:57:35 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=301</guid>
		<description><![CDATA[Cufon is a way (among several other) to add more or less any font as a fully usable font directly on your website &#8211; of course including Magento. Here we&#8217;ll show you how to do that in just a few steps. Find your font. A good resource of free fonts is www.dafont.com, however make sure the font you are about to use has an EULA that fits your needs. Go to the Cufon site and follow the instructions on how to upload your font and get the generated font.js file. Also download the cufon-yui.js ...]]></description>
			<content:encoded><![CDATA[<p>Cufon is a way (among several other) to add more or less any font as a fully usable font directly on your website &#8211; of course including Magento. Here we&#8217;ll show you how to do that in just a few steps.</p>
<ol>
<li>Find your font. A good resource of free fonts is www.dafont.com, however make sure the font you are about to use has an EULA that fits your needs.</li>
<li>Go to the <a href="http://cufon.shoqolate.com" target="_blank">Cufon site</a> and follow the instructions on how to upload your font and get the generated font.js file. Also download the cufon-yui.js script.</li>
<li>Place all the .js files in a new directory in /js/cufon.</li>
<li>Open your template&#8217;s page.xml file and add the below code in its head section:<br />
<code>&lt;</code><code>action</code> <code>method</code><code>=</code><code>"addJs"</code><code>&gt;&lt;</code><code>script</code><code>&gt;cufon/cufon-yui.js&lt;/</code><code>script</code><code>&gt;&lt;/</code><code>action</code><code>&gt;<br />
<code>&lt;</code><code>action</code> <code>method</code><code>=</code><code>"addJs"</code><code>&gt;&lt;</code><code>script</code><code>&gt;cufon/YourFontFile.font.js&lt;/</code><code>script</code><code>&gt;&lt;/</code><code>action</code><code>&gt;</code></code></li>
<li>Now open your template&#8217;s head.phtml file and add the following code at the very end of it:<br />
<code>&lt;</code><code>script</code> <code>type</code><code>=</code><code>"text/javascript"</code><code>&gt;Cufon.replace('h1, h2');&lt;/</code><code>script</code><code>&gt;</code></li>
</ol>
<p>You&#8217;re done. Your h1 and h2 tags are now using your custom font.</p>
<p>You can also target spesific CSS classes by adding the following script tag:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td></td>
<td>
<div>
<div><code>&lt;</code><code>script</code> <code>type</code><code>=</code><code>"text/javascript"</code><code>&gt;</code></div>
<div><code>Cufon.replace(' .product-title, .price ');</code></div>
<div><code>&lt;/</code><code>script</code><code>&gt;</code></div>
</div>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2011/04/using-cufon-in-magento/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Magento theme</title>
		<link>http://www.magjournal.com/2009/11/free-magento-theme/</link>
		<comments>http://www.magjournal.com/2009/11/free-magento-theme/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 12:47:28 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=198</guid>
		<description><![CDATA[Today Silverthemes.com released a 100% free Magento theme over at SmashingMagazine.com. The theme, a grungy really SM-styled theme, got a lot of positive feedback from the community right after release. Be sure to check out the free Magento theme.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.magjournal.com/wp-content/uploads/2009/11/brage.png"><img class="alignright size-thumbnail wp-image-191" title="Magento brage theme" src="http://www.magjournal.com/wp-content/uploads/2009/11/brage-150x150.png" alt="Magento brage theme" width="150" height="150" /></a>Today <a title="Magento templates" href="http://www.Silverthemes.com" target="_blank">Silverthemes.com</a> released a 100% free Magento theme over at <a href="http://www.smashingmagazine.com" target="_blank">SmashingMagazine.com</a>. The theme, a grungy really SM-styled theme, got a lot of positive feedback from the community right after release. Be sure to check out the free Magento theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/11/free-magento-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best Magento theme so far?</title>
		<link>http://www.magjournal.com/2009/11/best-magento-theme-so-far/</link>
		<comments>http://www.magjournal.com/2009/11/best-magento-theme-so-far/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 16:36:10 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=190</guid>
		<description><![CDATA[Silverthemes has released the Magento Brage theme a few weeks ago, with a huge success. Already almost 100 stores have purchased the theme and either used it as-is or customized it to fit a particular design. The Brage theme also come in six different color schemes, which can be selected directly from the Magento Admin without having to touch any code whatsoever. Below are some screenshots of the theme.]]></description>
			<content:encoded><![CDATA[<p>Silverthemes has released the <a title="Magento brage theme" href="http://www.silverthemes.com/premium-magento-themes/magento-bragetheme-template.html" target="_blank">Magento Brage theme</a> a few weeks ago, with a huge success. Already almost 100 stores have purchased the theme and either used it as-is or customized it to fit a particular design.</p>
<p>The Brage theme also come in <a href="http://www.silverthemes.com/premium-magento-themes/magento-bragetheme-template.html" target="_blank">six different color schemes</a>, which can be selected directly from the Magento Admin without having to touch any code whatsoever.</p>
<p>Below are some screenshots of the theme.</p>
<p><a href="http://www.silverthemes.com/premium-magento-themes/magento-bragetheme-template.html"><img class="alignnone size-large wp-image-191" title="Magento brage theme" src="http://www.magjournal.com/wp-content/uploads/2009/11/brage-1024x781.png" alt="Magento brage theme" width="478" height="365" /></a></p>
<p><a href="http://www.silverthemes.com/premium-magento-themes/magento-bragetheme-template.html"><img class="alignnone size-large wp-image-195" title="brage2" src="http://www.magjournal.com/wp-content/uploads/2009/11/brage2-1024x849.png" alt="brage2" width="486" height="403" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/11/best-magento-theme-so-far/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silverthemes releases new Magento theme</title>
		<link>http://www.magjournal.com/2009/07/silverthemes-releases-new-magento-theme/</link>
		<comments>http://www.magjournal.com/2009/07/silverthemes-releases-new-magento-theme/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 08:43:18 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Module reviews]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Spotting]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=177</guid>
		<description><![CDATA[Silverthemes.com, a Premium Magento Themes company, yesterday released their latest Magento ClearBlue theme. ClearBlue is focused on a clear blue line going through the whole theme. The design is made for easy customization of both colors and the overall style. The ClearBlue theme is bundled with: - Vertical Category menu (Walmart style) - MagicZoom Plus product-image magnifier - SimpleBoard magento widget These popular Magento addons are sold at almost $200 when purchased separately. The theme supports both 3-, 4- and 5-column category-pages &#8211; as well as the standard 1-column-, 2-column, (left+right)- and 3-column layout of the store. The ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-180" title="clearblue_productpage_magiczoom" src="http://www.magjournal.com/wp-content/uploads/2009/07/clearblue_productpage_magiczoom-297x300.jpg" alt="clearblue_productpage_magiczoom" width="297" height="300" /></p>
<p><a href="http://www.silverthemes.com">Silverthemes.com</a>, a Premium Magento Themes company, yesterday released their latest Magento ClearBlue theme.</p>
<p><a style="text-decoration: none; color: #3870b4;" href="http://www.silverthemes.com/magento-clearblue-template.html">ClearBlue </a>is focused on a clear blue line going through the whole theme. The design is made for easy customization of both colors and the overall style.</p>
<p><strong>The ClearBlue theme is bundled with:</strong><br />
- <a style="text-decoration: none; color: #3870b4;" href="http://www.silverthemes.com/premium-magento-addons/magento-vertical-menu.html">Vertical Category menu</a> (Walmart style)<br />
- <a>MagicZoom Plus</a> product-image magnifier<br />
- <a style="text-decoration: none; color: #3870b4;" href="http://www.silverthemes.com/premium-magento-extensions/magento-simpleboard.html">SimpleBoard magento widget</a></p>
<p>These popular Magento addons are sold at almost $200 when purchased separately. The theme supports both 3-, 4- and 5-column category-pages &#8211; as well as the standard 1-column-, 2-column, (left+right)- and 3-column layout of the store.</p>
<p>The ClearBlue-theme does not have dropdown in the horisontal category menu. This is by purpose as most store-owners want their customers to click through the main category to see special offers etc before navigating to the bottom sub-category.</p>
<p><a style="text-decoration: none; color: #3870b4;" href="http://demo.silverthemes.com/demo.php?pid=14" target="_blank">&gt;&gt; Click here for full demo of template</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/07/silverthemes-releases-new-magento-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 3 Great Magento Themes</title>
		<link>http://www.magjournal.com/2009/07/top-3-great-magento-themes/</link>
		<comments>http://www.magjournal.com/2009/07/top-3-great-magento-themes/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 21:08:17 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=148</guid>
		<description><![CDATA[We&#8217;ve seen lots of magento themes coming up since the very first official release of Magento in early 2008. Some of these themes are really great, while most of them really lacks the premium content needed for a professional store. Now and then we pick the best Magento themes around. In this first post we&#8217;ve picked three great themes from Silverthemes.com, one of the &#8220;seniors&#8221; in this market. 1. Magento Tubetheme The TubeTheme by Silverthemes is really a great theme. The design is very clean, inspired by YouTube. The functionality includes both 3-, 4- ...]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve seen lots of magento themes coming up since the very first official release of Magento in early 2008. Some of these themes are really great, while most of them really lacks the premium content needed for a professional store. Now and then we pick the best Magento themes around. In this first post we&#8217;ve picked three great themes from <a title="Premium magento themes" href="http://www.silverthemes.com" target="_blank">Silverthemes.com</a>, one of the &#8220;seniors&#8221; in this market.</p>
<h3><a title="Premium Magento themes" href="http://www.silverthemes.com/premium-magento-themes/magento-tubetheme.html" target="_blank">1. Magento Tubetheme</a></h3>
<h4><span style="font-weight: normal;"><a href="http://www.silverthemes.com/premium-magento-themes/magento-tubetheme.html"><img class="alignnone" style="border: 0px initial initial;" title="firefox_tubetheme_category_4col" src="http://www.magjournal.com/wp-content/uploads/2009/07/firefox_tubetheme_category_4col-300x270.jpg" alt="firefox_tubetheme_category_4col" width="300" height="270" /></a></span></h4>
<p>The <a title="Magento tube theme" href="http://www.silverthemes.com/premium-magento-themes/magento-tubetheme.html" target="_blank">TubeTheme by Silverthemes</a> is really a great theme. The design is very clean, inspired by YouTube. The functionality includes both 3-, 4- and 5-column product pages, administration of footer-content in Magento Admin, good SEO although not 100% yet, bordered buttons with CSS3 (works great in Firefox 3.x). The theme also includes lots of great additional addons to make the store perfect.</p>
<h3><a title="Magento Fashion theme" href="http://www.silverthemes.com/premium-magento-themes/fashion-magento-theme.html" target="_blank">2. Fashion theme</a></h3>
<p><a href="http://www.silverthemes.com/premium-magento-themes/fashion-magento-theme.html"><img class="alignnone size-medium wp-image-156" title="chrome_fashion_product" src="http://www.magjournal.com/wp-content/uploads/2009/07/chrome_fashion_product-300x249.jpg" alt="chrome_fashion_product" width="300" height="249" /></a></p>
<p>The <a title="Magento Fashion theme" href="http://www.silverthemes.com/premium-magento-themes/fashion-magento-theme.html" target="_blank">Magento Fashion theme by Silverthemes</a> is a dark theme, with strong colors which is perfect for clothes stores and any kind of fashion stores. The Static Blocks can be used to add custom information in the header (links, etc). Plus for very easy installation instructions.</p>
<h3><a title="Magento Megastore theme" href="http://www.silverthemes.com/premium-magento-themes/megastore-magento-theme.html" target="_blank">3. Magento Megastore theme</a></h3>
<p><a href="http://www.silverthemes.com/premium-magento-themes/megastore-magento-theme.html"><img class="alignnone size-medium wp-image-157" title="chrome_megastore_product" src="http://www.magjournal.com/wp-content/uploads/2009/07/chrome_megastore_product-300x240.jpg" alt="chrome_megastore_product" width="300" height="240" /></a></p>
<p>The <a title="Magento Megastore theme" href="http://www.silverthemes.com/premium-magento-themes/megastore-magento-theme.html" target="_blank">Megastore theme</a> is a perfect magento theme for any large scale Magento-store with thousands of products in its catalog. The theme includes all the great optional functionality like product popup, catalog dropdown, magiczoom like all the other themes from Silverthemes also have.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/07/top-3-great-magento-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display best selling product in magento</title>
		<link>http://www.magjournal.com/2009/07/display-best-selling-product-in-magento/</link>
		<comments>http://www.magjournal.com/2009/07/display-best-selling-product-in-magento/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 11:46:49 +0000</pubDate>
		<dc:creator>sanjaypatil</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=100</guid>
		<description><![CDATA[Want to display the best selling products in your Magento store on the frontpage or anywhere else in your store? The best selling products means the products sold in highest quantity in Ascending order. This functionality is for some strange reason not included in Magento by default so we&#8217;ll explain how you can set it up yourself. Main logic for this is we have to get the product list in ascending order by [order_qty]. So to get this type of list we have to apply $visibility = array( Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH, Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG ); $_productCollection = Mage::getResourceModel('reports/product_collection') ...]]></description>
			<content:encoded><![CDATA[<p>Want to display the best selling products in your Magento store on the frontpage or anywhere else in your store? The best selling products means the products sold in highest quantity in Ascending order. This functionality is for some strange reason not included in Magento by default so we&#8217;ll explain how you can set it up yourself.</p>
<p><span id="more-100"></span></p>
<p>Main logic for this is we have to get the product list in ascending order by [order_qty]. So to get this type of list we have to apply</p>
<pre class="brush: php;">

$visibility = array(
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
);

$_productCollection = Mage::getResourceModel('reports/product_collection')
-&gt;addAttributeToSelect('*')
-&gt;addOrderedQty()
-&gt;addAttributeToFilter('visibility', $visibility)
-&gt;setOrder('ordered_qty', 'desc');
</pre>
<p>By this way you get the complete list of product order accoding to order quantity for particular product.</p>
<p>Now to display that list in well formated manner you have to loop over the array of product as</p>
<pre class="brush: php;">

&lt;?php foreach($_productCollection as $product): ?&gt;

&lt;?php
$categories = null;
foreach (explode(&quot;,&quot;, $product-&gt;category_ids) as $catId){

//Mage_Catalog_Model_Category
$cat = Mage::getModel('catalog/category')
-&gt;setStoreId(Mage::app()-&gt;getStore()-&gt;getId())
-&gt;load($catId);
$catName = $cat-&gt;getName();

$catLink = $cat-&gt;getUrlPath();
$categories .= '&lt;a href=&quot;'.$catLink.'&quot; title=&quot;'.$catName.'&quot;&gt;'.$catName.'&lt;/a&gt;&amp;nbsp;&amp;nbsp;';
}

?&gt;

&lt;?php if($counter &lt;= $totalPerPage): ?&gt;

&lt;?php $productUrl =  $product-&gt;getProductUrl() ?&gt;
&lt;div class=&quot;best-sellh&quot;&gt;
&lt;div class=&quot;wraptocenter&quot;&gt;
&lt;a href=&quot;&lt;?php echo $productUrl ?&gt;&quot; title=&quot;View &lt;?php echo $product-&gt;name ?&gt;&quot;&gt;
&lt;img src=&quot;&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($product, 'image')-&gt;resize(120); ?&gt;&quot; alt=&quot;Product image&quot;  class=&quot;shadow&quot; rel=&quot;black&quot; /&gt;
&lt;!--        &lt;img src=&quot;images/prodimg01.jpg&quot; alt=&quot;chrysler-building&quot; height=&quot;150&quot; width=&quot;100&quot; class=&quot;shadow&quot; rel=&quot;black&quot;/&gt;--&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;div class=&quot;img_txt&quot; &gt;
&lt;span class=&quot;yellow-bg-text&quot;&gt;&lt;?php echo $product-&gt;name ?&gt;&lt;/span&gt; &lt;?=$catName?&gt;&lt;br /&gt;
&lt;p class=&quot;price_txt&quot;&gt;starts from &lt;span class=&quot;price_hd&quot;&gt;&lt;?php echo Mage::helper('core')-&gt;currency($product-&gt;price) ?&gt; &lt;/span&gt; &lt;/p&gt;
&lt;/div&gt;

&lt;br class=&quot;spacer&quot; /&gt;&lt;/div&gt;
&lt;!--
&lt;h4&gt;&lt;?php echo $product-&gt;name ?&gt;&lt;/h4&gt;
&lt;/a&gt;
&lt;small&gt;&lt;?php echo $this-&gt;__('Total soled quantities') ?&gt;: &lt;?php echo (int)$product-&gt;ordered_qty ?&gt;&lt;/small&gt;&lt;br /&gt;

&lt;a href=&quot;&lt;?php echo $productUrl ?&gt;&quot; title=&quot;View &lt;?php echo $product-&gt;name ?&gt;&quot;&gt;
&lt;img src=&quot;&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($product, 'image')-&gt;resize(120); ?&gt;&quot; alt=&quot;Product image&quot;  /&gt;
&lt;/a&gt; &lt;br /&gt;

&lt;?php echo $this-&gt;__('Categories: ') ?&gt;&lt;?php echo $categories ?&gt;
&lt;p&gt;&lt;?php echo $product-&gt;short_description ?&gt;&lt;/p&gt;
--&gt;
&lt;?php endif; $counter++; ?&gt;
&lt;?php endforeach; ?&gt;
</pre>
<p>In this way you can get the list of best selling product.</p>
<p>How to use this code:</p>
<ul>
<li>Just create one phtml file as[highsold.phtml] in category/product directory</li>
<li>Paste this code in that file [highsold.phtml]</li>
<li>Now go to layout/cms.xml file and add following line of code</li>
</ul>
<pre class="brush: xml;">

&lt;cms_page&gt;

&lt;reference name=&quot;content&quot;&gt;

&lt;strong&gt; &lt;block type=&quot;catalog/product&quot; name=&quot;highsold&quot; as=&quot;highsold&quot; template=&quot;catalog/product/highsold.phtml&quot; /&gt;&lt;/strong&gt;
&lt;block type=&quot;cms/page&quot; name=&quot;cms_page&quot; /&gt;
&lt;/reference&gt;
&lt;/cms_page&gt;
</pre>
<p>By this way you are creating a block named as highsold</p>
<ul>
<li>Now if you want to display the product list on home page.Just go to home.phtml file and ad following lines as&lt;?php echo $this-&gt;getChildHtml(&#8216;highsold&#8217;) ?&gt;</li>
</ul>
<ul>
<li>next go to admin/cms/manage pages/ and select home pagel. In content text area add following lines as</li>
</ul>
<pre class="brush: xml;">

{{block type=&quot;core/template&quot; name=&quot;default_home_page&quot; template=&quot;cms/default/home.phtml&quot; }}
</pre>
<p>Now you should see the products perfectly displayed on home page!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/07/display-best-selling-product-in-magento/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress and Magento</title>
		<link>http://www.magjournal.com/2009/05/wordpress-and-magento/</link>
		<comments>http://www.magjournal.com/2009/05/wordpress-and-magento/#comments</comments>
		<pubDate>Fri, 08 May 2009 16:02:45 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Module reviews]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=47</guid>
		<description><![CDATA[With the latest release of Magento 1.3, there really is no escaping the fact that Magento is the number one software for your eCommerce site. With it’s flexibility and scalability there is very little you can’t get Magento to do in an eCommerce environment. Granted, the CMS options could be and perhaps should be a bit more flexible compared to the rest, but they do the trick. There only one thing Magento can’t do and that is blog. Where Magento is becoming the dominant software for eCommerce websites, is WordPress already the most popular ...]]></description>
			<content:encoded><![CDATA[<p style="font-size: 1.1em;"><img class="alignright size-full wp-image-50" title="wordperss" src="http://www.magjournal.com/wp-content/uploads/2009/05/wordperss.jpg" alt="wordperss" width="150" />With the latest release of Magento 1.3, there really is no escaping the fact that Magento is the number one software for your eCommerce site. With it’s flexibility and scalability there is very little you can’t get Magento to do in an eCommerce environment. Granted, the CMS options could be and perhaps should be a bit more flexible compared to the rest, but they do the trick. There only one thing Magento can’t do and that is blog.</p>
<p style="font-size: 1.1em;">
<p style="font-size: 1.1em;">Where Magento is becoming the dominant software for eCommerce websites, is WordPress already the<span> </span><a style="text-decoration: none; color: #3870b4;" href="http://www.google.com/trends?q=wordpress%2C+blogger%2C+drupal&amp;ctab=0&amp;geo=all&amp;date=all&amp;sort=0" target="_blank">most popular</a><span> </span>blogging software out there, and with good reason. WordPress can be used in a number of different ways but using WordPress as CMS plus blog engine is what is does best.</p>
<p style="font-size: 1.1em;">So if you’re serious about the online presence of your web shop you should want to take a look at combining Magento and WordPress.</p>
<h3>Advantages of integrating Magento with WordPress</h3>
<p>There are a couple of advantages of integrating Magento with WordPress:</p>
<p>- With WordPress added to your store you give your customers and regular visitors the ability to interact with you more than when you would just offer products.<br />
- Instead of just offering products you have the possibility to offer extra value by providing interesting links of interest in your field, which in effect establishes you or your web shop as an authority on your subject.<br />
- An added WordPress blog gives you the opportunity to work on your search engine optimization (SEO). Linking to your products in right way will not only make sure your visitors know what’s going on and what you find important but the Search Engines will know this just as well! To learn more about SEO visit this article on<a style="text-decoration: none; color: #3870b4;" title="Magento SEO" href="http://yoast.com/articles/magento-seo/" target="_blank">Magento SEO</a><span> </span>by Yoast.</p>
<h3>Thing to consider when looking at integrating Magento with WordPress</h3>
<p>Let’s say you’re still working on releasing your Magento website, or better yet when you have yet to install Magento. You will have to figure out what to do with your url and your installations of Magento and WordPress. Here are a couple of things to consider:</p>
<p>- Depending on the size of your shop you could install your Magento installation in a subfolder (<a style="text-decoration: none; color: #3870b4;" href="http://www.yourdomain.com/shop" target="_blank">http://www.yourdomain.com/shop</a>) or sub domain even(<a style="text-decoration: none; color: #3870b4;" href="http://shop.yourdomain.com/" target="_blank">http://shop.yourdomain.com</a>) and let WordPress handle the root of your domain with it’s static pages and have the blog functionality work as your news section.<br />
- When you have a larger shop you might want to install Magento in the root of your domain and use WordPress as a subfolder called /blog, /news or something of your choosing.<br />
- Try and go for matching themes on your Magento and WordPress installation as much as possible. A great example of near perfect integration can achieved by using the<span> </span><a style="text-decoration: none; color: #3870b4;" title="Open Air Magento Theme" href="http://demo.silverthemes.com/demo.php?pid=8" target="_blank">Magento Open Air</a><span> </span>here on<span> </span><a style="text-decoration: none; color: #3870b4;" title="Premium Magento Themes" href="../../" target="_blank">Silverthemes</a><span> </span>for your Magento installation combined with the<span> </span><a style="text-decoration: none; color: #3870b4;" title="Open Air WordPress theme by WooThemes" href="http://www.woothemes.com/demo/?t=11" target="_blank">WordPress Open Air</a><span> </span>version by<span> </span><a style="text-decoration: none; color: #3870b4;" title="WooThemes" href="http://woothemes.com/" target="_blank">WooThemes</a><span> </span>for your WordPress installation.<br />
- When you really want to create a large community combined with your web shop, do consider a variation of WordPress called<span> </span><a style="text-decoration: none; color: #3870b4;" title="Create your own social network with BuddyPress" href="http://buddypress.org/" target="_blank">BuddyPress</a>. BuddyPress enables you to have your own social network combined with a large site. Although this may seem like a step too far in most cases this is definitely worth checking out when you are building a large online store.</p>
<h3>How to integrate WordPress into your Magento store</h3>
<p>Straight out of the box Magento can not communicate with WordPress and vice versa. So it’s up to you to make them share information. Right now there are two ways of going about that.</p>
<p>The first is immediately the easiest one. Lazymonk wrote a<span> </span><a style="text-decoration: none; color: #3870b4;" href="http://www.magentocommerce.com/extension/296/lazzymonks-wordpress-integration" target="_blank">Magento extension for WordPress integration</a>. This extension allows you to integrate WordPress into your Magento installation if, and only if both your installations<span> </span><span style="text-decoration: underline;">are installed in the same database</span>. For installation details check out the plugins page.</p>
<p>The second way of going about this involves you tweaking a bit of code in your Magento Theme. We’ll use the RSS import function of Magento to import the latest articles via your WordPress feed output.</p>
<p>What we need to do is create a file which will contain the code used to import the RSS. Let’s give that file a name something like import_blog.phtml and the following code into that:</p>
<pre style="border: 1px solid #e0e0e0; margin: 20px 0px; padding: 0px 10px; overflow: auto; line-height: 1.8em; background-color: #f5f5f5;">&lt; ?php $channel = new Zend_Feed_Rss('<a style="text-decoration: none; color: #3870b4;" href="http://www.yourdomain/feed%27" target="_blank">http://www.yourdomain/feed'</a>); ?&gt;
&lt;div class="block block-latest-news"&gt;
&lt;div class="block-title"&gt;
&lt;h2&gt;&lt; ?php echo $this-&gt;__('Latest Articles form the Blog') ?&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="block-content"&gt;
&lt;ol id="graybox-latest-news"&gt;
&lt; ?php foreach ($channel as $item): ?&gt;
&lt;li&gt;&lt;a href="&lt;?php echo $item-&gt;link; ?&gt;"&gt;&lt; ?php echo $item-&gt;title; ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt; ?php endforeach; ?&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
<p style="font-size: 1.1em;">Place this file in your themes folder so it will look like so:<em>app/design/frontend/default/name_of_your_theme/template/callouts/blog_import.phtml</em></p>
<p style="font-size: 1.1em;">All you would have to do is call for this newly created file in your Magento theme. Most themes have a column on the right so let’s assume that’s where you want to import your latest blog posts. You would need a code similar to this one:</p>
<pre style="border: 1px solid #e0e0e0; margin: 20px 0px; padding: 0px 10px; overflow: auto; line-height: 1.8em; background-color: #f5f5f5;">&lt;reference name="right"&gt;
&lt;block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/&gt;
&lt;block type="core/template" name="right.latest.news" template="callouts/blog_import.phtml"/&gt;<img class="alignright size-thumbnail wp-image-48" title="icon_big-300x267" src="http://www.magjournal.com/wp-content/uploads/2009/05/icon_big-300x267-150x150.png" alt="icon_big-300x267" width="150" height="150" />
&lt;/reference&gt;</pre>
<p style="font-size: 1.1em;">Be sure to add this code to your catalog.xml located in<em>app/design/frontend/default/name_of_your_theme/layout/catalog.xml</em></p>
<p style="font-size: 1.1em;">Please note that in the code you can change things like<span> </span><em>Latest Articles from the Blog</em><span> </span>to anything you like. Also, for better handling and tracking of your feed you can use<span> </span><a style="text-decoration: none; color: #3870b4;" href="http://www.feedburner.com/" target="_blank">Feedburner</a><span> </span>to deliver your feed. You would then use the feed url specified by Feedburner in the first code.</p>
<h3>Extra Magento plug-ins or documentation to further integrate WordPress within Magento</h3>
<p>- If you have rich SEO content related to your shop catalog/products, this module can show the related articles on your product pages. Magento Product Related Articles from WordPress extension can be<span> </span><a style="text-decoration: none; color: #3870b4;" href="http://schogini.biz/magento-module-product-articles-from-cms-3.html" target="_blank">found here</a>.<br />
- When you want to integrate WordPress into Magento and you are not using the same database<span> </span><a style="text-decoration: none; color: #3870b4;" href="http://inchoo.net/wordpress/connect2mage-wordpress-plugin-for-easy-magento-database-connection/" target="_blank">this article</a>might be helpful to you to retrieve some products by reading id’s from custom field of some post inside your WordPress installation via a piece of code added to your preferred WordPress page and a Magento extension.</p>
<p style="font-size: 1.1em;"><strong>About the author: Remkus de Vries is a Dutch<span> </span><a style="text-decoration: none; color: #3870b4;" title="Specialist in WordPress" href="http://www.forsite.nu/" target="_blank">WordPress specialist</a><span> </span>and a blogger. You can also find him on<span> </span><a style="text-decoration: none; color: #3870b4;" href="http://www.twitter.com/defries" target="_blank">Twitter</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/05/wordpress-and-magento/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Add Highslide to Magento</title>
		<link>http://www.magjournal.com/2009/04/add-highslide-to-magento/</link>
		<comments>http://www.magjournal.com/2009/04/add-highslide-to-magento/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 18:32:44 +0000</pubDate>
		<dc:creator>Mark Clark</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Module reviews]]></category>

		<guid isPermaLink="false">http://www.magjournal.com/?p=9</guid>
		<description><![CDATA[Love Highslide? So do we. We&#8217;ve even written a manual on how to install and use Highslide in Magento. We&#8217;ve used it on the Product-pages to display product-images but it can easily be extended to display images in your CMS-pages, frontpage, etc. Ok, lock the door and watch closely. Step 1: Download the latest version of Highslide Click here to go to the Highslide.com-site and download the latest (stable) version to your local computer. Step 2: Transfer Highslide to your Magento-installation Unzip the Highslide and transfer the files to your Magento skin-folder, for example: ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-20" title="cart" src="http://www.magjournal.com/wp-content/uploads/2009/04/cart.jpg" alt="cart" width="150" height="125" />Love Highslide? So do we. We&#8217;ve even written a manual on how to install and use Highslide in Magento. We&#8217;ve used it on the Product-pages to display product-images but it can easily be extended to display images in your CMS-pages, frontpage, etc. Ok, lock the door and watch closely.</p>
<p><strong>Step 1: Download the latest version of Highslide</strong><br />
Click here to go to the Highslide.com-site and download the latest (stable) version to your local computer.</p>
<p><strong>Step 2: Transfer Highslide to your Magento-installation</strong><br />
Unzip the Highslide and transfer the files to your Magento skin-folder, for example:</p>
<p>/skin/frontend/default//highslide</p>
<p>You should now have a bunch of .js-files, a few .css-files and a &#8216;graphics&#8217;-folder in this &#8216;highslide&#8217;-folder.</p>
<p><strong> Step 3: Add code to the head-area to get the Highslide loaded up</strong></p>
<p>Open your /app/design/frontend/default/</p>
<p>/template/page/html/head.phtml-file and add the following code at the end (this code will appear in the head-area, above the body):</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&lt;!-- Initiate Highslide --&gt;
&lt;script src=&quot;&amp;lt;?php echo $this-&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:0--&gt;&lt;/script&gt;
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;!--</span>mce<span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #339933;">--&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>Step 4: Replace the default product-image magnifier with Highslide</strong></p>
<p>Ok so, this is the most advanced step so pay close attention. Navigate to your frontend template-folder (normally /app/design/frontend/default//template). Now browse further in the directory-tree to the catalog-folder, then the product-folder and finally &#8211; the view-folder. You should be somewhere around here:</p>
<p>/app/design/frontend/default//template/catalog/product/view</p>
<p>The files in this folder are very critical to have Magento working so watch your steps closely. The first thing we&#8217;ll do is to make a backup of the media.phtml-file which we are going to modify by transferring a copy of it to a secret place your local computer. If you want to revert back to the original product-image magnifier its good to have a backup somewhere. You can even replace it with the very popular MagicZoom Plus-extension which can be bought as an optional addon with all our Magento themes.</p>
<p>Next, open up the media.phtml-file on your server and.. well, we&#8217;ve done everything for you in this step, so just replace everything in the file with the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span> Fetch product<span style="color: #339933;">-</span>image information <span style="color: #339933;">--&gt;</span>
<span style="color: #004000;">getProduct</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$_helper</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>helper<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/output'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span> Check <span style="color: #b1b100;">if</span> Base image is <span style="color: #990000;">defined</span><span style="color: #339933;">,</span> and <span style="color: #b1b100;">if</span> so<span style="color: #339933;">,</span> display it with Highslide effect <span style="color: #339933;">--&gt;</span>
<span style="color: #004000;">getImage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'no_selection'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$_product</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getImage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;highslide-gallery&quot;</span><span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>a <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;highslide&quot;</span> onclick<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;return hs.expand(this)&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&amp;lt;?php echo <span style="color: #006699; font-weight: bold;">$this</span>-&amp;gt;helper('catalog/image')-&amp;gt;init(<span style="color: #006699; font-weight: bold;">$_product</span>, 'image') ?&amp;gt;&quot;</span><span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>img title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Click to enlarge&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&amp;lt;?php echo <span style="color: #006699; font-weight: bold;">$this</span>-&amp;gt;helper('catalog/image')-&amp;gt;init(<span style="color: #006699; font-weight: bold;">$_product</span>, 'image')-&amp;gt;resize(265) ?&amp;gt;&quot;</span> alt<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&amp;lt;?php echo <span style="color: #006699; font-weight: bold;">$this</span>-&amp;gt;htmlEscape(<span style="color: #006699; font-weight: bold;">$this</span>-&amp;gt;getImageLabel()) ?&amp;gt;&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;!--</span> Add caption below the image <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;highslide-caption&quot;</span><span style="color: #339933;">&gt;</span>
        htmlEscape<span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getImageLabel<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span> No Base image available<span style="color: #339933;">.</span> Will show <span style="color: #000000; font-weight: bold;">default</span> image from Magento <span style="color: #339933;">--&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;!--</span> Hey<span style="color: #339933;">,</span> this product has more images so we<span style="color: #0000ff;">'ll display the gallery and Highslide them as well --&gt;
getGalleryImages()) &amp;gt; 0): ?&amp;gt;
&lt;div class=&quot;more-views&quot;&gt;
&lt;div class=&quot;highslide-gallery&quot;&gt;
&lt;h4&gt;__('</span>More Views<span style="color: #0000ff;">') ?&amp;gt;&lt;/h4&gt;
&lt;ul&gt;
    getGalleryImages() as $_image): ?&amp;gt;
	&lt;li&gt;
            &lt;a class=&quot;highslide&quot; onclick=&quot;return hs.expand(this)&quot; href=&quot;&amp;lt;?php echo $this-&amp;gt;helper('</span>catalog<span style="color: #339933;">/</span>image<span style="color: #0000ff;">')-&amp;gt;init($this-&amp;gt;getProduct(), '</span>image<span style="color: #0000ff;">', $_image-&amp;gt;getFile()); ?&amp;gt;&quot;&gt;
            &lt;img title=&quot;&amp;lt;?php echo $this-&amp;gt;htmlEscape($_image-&amp;gt;getLabel()) ?&amp;gt;&quot; src=&quot;&amp;lt;?php echo $this-&amp;gt;helper('</span>catalog<span style="color: #339933;">/</span>image<span style="color: #0000ff;">')-&amp;gt;init($this-&amp;gt;getProduct(), '</span>thumbnail<span style="color: #0000ff;">', $_image-&amp;gt;getFile())-&amp;gt;resize(56); ?&amp;gt;&quot; alt=&quot;&amp;lt;?php echo $this-&amp;gt;htmlEscape($_image-&amp;gt;getLabel()) ?&amp;gt;&quot; /&gt;&lt;/a&gt;
&lt;div class=&quot;highslide-caption&quot;&gt;
            htmlEscape($_image-&amp;gt;getLabel()) ?&amp;gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- End of media.phtml with Highslide-effect --&gt;</span></pre></div></div>

<p><strong>Step 5: Finish</strong></p>
<p>You&#8217;re done. Thats right. Good job!<br />
Or what do you say? You dont want to do it yourself? Then just purchase one of our popular Magento-themes and add Highslide as a bundled addon upon purchase, and we&#8217;ll help you all the way through.</p>
<p><strong>Wanna see a demo of it?</strong></p>
<p>Check out our products at Silverthemes.com, as they&#8217;re all set up with the Highslide:<br />
<a href="http://www.silverthemes.com/premium-magento-themes/superclean.html" target="_self">http://www.silverthemes.com/premium-magento-themes/superclean.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.magjournal.com/2009/04/add-highslide-to-magento/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

