<?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>Magento Design and Development &#187; Ivan Weiler</title>
	<atom:link href="http://inchoo.net/author/weiler/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Wed, 16 May 2012 12:17:41 +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>Facebook Connect Magento Extension</title>
		<link>http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/</link>
		<comments>http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 21:56:43 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=4133</guid>
		<description><![CDATA[We&#8217;re proud to present free Facebook Connect Magento extension which enables customers fast and easy registration and login with their Facebook identity. And it&#8217;s just been updated! Important Facebook updated &#8230;]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re proud to present <strong>free Facebook Connect Magento extension</strong> which enables customers fast and easy registration and login with their Facebook identity. And it&#8217;s <strong>just been updated</strong>!</p>
<p><span id="more-4133"></span></p>
<h2>Important</h2>
<p>Facebook updated it&#8217;s authentication mechanism but so did we, so please update your extension to the newest version since older versions won&#8217;t work anymore.<br />
Also, if you&#8217;re getting &#8220;An error occurred. Please try again later.&#8221; message in connect popup, you need to get <strong>new &#8220;App ID/API Key&#8221;</strong> from Facebook and enter it into Magento. Check your Application Secret along the way.</p>
<h2>Download</h2>
<p>Download <a href="http://inchoo.net/wp-content/uploads/2011/05/Inchoo_Facebook-0.9.9.zip" target="_blank"><strong>Inchoo_Facebook-0.9.9.zip</strong></a>, extract files to appropriate place following directory structure and reload cache.<br />
Latest pre-relase versions can always be downloaded on <a href="https://github.com/ivanweiler/Inchoo_Facebook" target="_blank">my github project page</a>.</p>
<h2>About</h2>
<p>Facebook Connect Magento extension enables customers one click registration and login with their Facebook identity. It automatically registers new users and logs in existing ones.</p>
<p>Current extension is compatible with latest Magento CE 1.6, but also with older 1.5, 1.4 and 1.3.2.x versions. It&#8217;s using brand new Facebook thingies like open graph protocol and open source JavaScript SDK.</p>
<p>If you&#8217;re interested to see additional languages in future releases, <a href="http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/comment-page-3/#comment-20942">help us translate it by following instructions</a>.</p>
<h2>Facebook App</h2>
<p>For Facebook Connect to work you need to <a href="http://www.facebook.com/developers/createapp.php" target="_blank">Setup Application on Facebook</a> and obtain its App ID/API Key and Application Secret.</p>
<p>Use your store name as application name and read and accept terms of service. On second screen set App Domain and Site URL(under checked Web Site tab), both to the store domain where you plan to implement Facebook Connect. Save Changes. Other Connect settings are optional, but you might want to add store logo for example.</p>

<a href='http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/attachment/featured-image-291/' title='Featured Image'><img width="300" height="128" src="http://inchoo.net/wp-content/uploads/2011/01/fbconnect-300x128.gif" class="attachment-thumbnail" alt="Featured Image" title="Featured Image" /></a>
<a href='http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/attachment/facebook-setup-1/' title='facebook-setup-1'><img width="300" height="182" src="http://inchoo.net/wp-content/uploads/2011/05/facebook-setup-1-300x182.png" class="attachment-thumbnail" alt="facebook-setup-1" title="facebook-setup-1" /></a>
<a href='http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/attachment/facebook-setup-2/' title='facebook-setup-2'><img width="300" height="199" src="http://inchoo.net/wp-content/uploads/2011/05/facebook-setup-2-300x199.png" class="attachment-thumbnail" alt="facebook-setup-2" title="facebook-setup-2" /></a>
<a href='http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/attachment/facebook-setup-3/' title='facebook-setup-3'><img width="300" height="201" src="http://inchoo.net/wp-content/uploads/2011/05/facebook-setup-3-300x201.png" class="attachment-thumbnail" alt="facebook-setup-3" title="facebook-setup-3" /></a>
<a href='http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/attachment/facebook-setup-4/' title='facebook-setup-4'><img width="300" height="201" src="http://inchoo.net/wp-content/uploads/2011/05/facebook-setup-4-300x201.png" class="attachment-thumbnail" alt="facebook-setup-4" title="facebook-setup-4" /></a>

<h2>Magento Setup</h2>
<p>Once you obtain two keys navigate to Magento Administration, copy/paste them to appropriate fields under Configuration-&gt;Customer-&gt;Facebook Connect, set Enabled to Yes and you&#8217;re good to go. If you&#8217;re updating from previous releases, you also need to Enable it to work.</p>
<p>Default template files (frontend/default/default/template/facebook/*) and layout (layout/facebook.xml) makes Facebook Connect work out of the box with default theme, but we tried to make customizations as easy as possible so all you need to do is add button or link with &#8220;facebook-connect&#8221; rel attribute set anywhere in the theme, static block or cms page, for example:</p>
<p>&lt;button rel=&#8221;facebook-connect&#8221; class=&#8221;form-button&#8221; type=&#8221;submit&#8221;&gt;&lt;span&gt;Connect with Facebook&lt;/span&gt;&lt;/button&gt;<br />
&lt;a rel=&#8221;facebook-connect&#8221;&gt;Connect with Facebook&lt;/a&gt;</p>
<h2>Latest Changes</h2>
<p>v.0.9.9<br />
- Client and javascript compatible with new Facebook authentication changes.<br />
- Event.fire changed to document object to avoid javascript conflicts.<br />
- Asking for user_birthday permission from now on.<br />
- Norwegian translation added thanks to Magnus Alexander.</p>
<p>v.0.9.8<br />
- Version fix, licenses added, connect release.</p>
<p>v.0.9.7<br />
- Estonian, Swedish, Czech, Turkish and Korean translations added thanks to Sir Mull, Andreas Karlsson, Pavel Hrdlicka, ea and COBAY.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/facebook-connect-magento-extension/feed/</wfw:commentRss>
		<slash:comments>469</slash:comments>
		</item>
		<item>
		<title>Magento Lite experiment</title>
		<link>http://inchoo.net/ecommerce/magento/magento-lite-experiment/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-lite-experiment/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 20:11:22 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[lite]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=11330</guid>
		<description><![CDATA[No, it&#8217;s not April Fools&#8217; Day, it&#8217;s November, no Inchoo pranks. We played with something new this time. You all heard that Magento is modular platform a hundred times. It &#8230;]]></description>
			<content:encoded><![CDATA[<p>No, it&#8217;s not April Fools&#8217; Day, it&#8217;s November, no Inchoo pranks. We played with something new this time. You all heard that Magento is modular platform a hundred times. It just needs a little push sometimes, so we pushed it <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  First of all ..<br />
<span id="more-11330"></span><br />
<strong style="font-size:15px;">Don&#8217;t use in production environments, this is only an experiment!</strong></p>
<p>We wanted to show what can be done and how great Magento really is. We don&#8217;t have any plans other than use some of the code presented here for our custom projects and learning purposes, so no updates guaranteed.</p>
<h2>About</h2>
<p>Magento Lite is extension that compensates module dependency and makes Magento truly modular.<br />
By default it fully disables over 35 default Magento modules, there are over 120 DB tables less and over 2000 files can be safely deleted from Magento.</p>
<p>Any single disabled module can be enabled and restored again.</p>
<p>It removes &#8220;system&#8221; flag from most not needed attributes and creates optional Lite product attribute set.<br />
It hides non-active modules in &#8220;Disable Modules Output&#8221;.<br />
It optionally hides Recurrent Billing, Billing Agreements, Related, Upsell, Crosssell products from system (WIP).</p>
<h2>Goal</h2>
<p>To have only basic e-commerce functionalities like catalog, cart, checkout, etc. in Magento.<br />
To have fully upgradable platform ideal for custom projects and learning purposes.</p>
<h2>Compatibility</h2>
<p>Magento CE >= 1.6.0.0. Tested on 1.6.0.0 and 1.6.1.0.</p>
<h2>Instalation</h2>
<p>Download Magento and unpack, copy/paste Weiler_Lite module in it, install Magento.</p>
<p>It&#8217;s tested only on fresh/clean installations. In theory it should work on already set store, but then database has unneeded tables and attributes since this module doesn&#8217;t remove them and probably never will. It&#8217;s not tested with sample data, but it probably works.</p>
<p>To enable any disabled module edit app/etc/modules/Weiler_Lite.xml and set its &lt;active&gt; to true.</p>
<h2>Notes</h2>
<p>Mage_CatalogRule and Mage_Rule can also be safely disabled/removed, but there is no way to do that without touching Mage_All.xml since there is no way to rewrite &lt;depends&gt; definitions. There is Mage_All.xml.lite file if someone wants to experiment.</p>
<p>Mage_Dataflow can also be disabled this way, but that module shouldn&#8217;t be deleted since Eav is extending few classes from there.</p>
<p>I also wanted to disable Mage_Reports and Mage_Log but 30% of Magento is broken then.</p>
<p>Rss, Weee, Wishlist and GiftMessage helpers are rewritten to avoid changing tons of theme phtml files.<br />
It was just easier this way, method is highly questionable. Otherwise we need lite frontend theme.<br />
Current frontend lite theme is just experimental, it can be removed.</p>
<p>Some block are deliberately rewritten instead of using hooks, it&#8217;s easier to maintain updates that way.</p>
<h2>Download</h2>
<p><a href="http://inchoo.net/wp-content/uploads/2011/11/Magento_Lite.zip" target="_blank">Magento_Lite_1.6.1.0.zip</a></p>
<h2>Screenshots</h2>

<a href='http://inchoo.net/ecommerce/magento/magento-lite-experiment/attachment/magento-lite-product-edit/' title='magento-lite-product-edit'><img width="300" height="167" src="http://inchoo.net/wp-content/uploads/2011/11/magento-lite-product-edit-300x167.jpg" class="attachment-thumbnail" alt="magento-lite-product-edit" title="magento-lite-product-edit" /></a>
<a href='http://inchoo.net/ecommerce/magento/magento-lite-experiment/attachment/magento-lite-attribute-set/' title='magento-lite-attribute-set'><img width="300" height="182" src="http://inchoo.net/wp-content/uploads/2011/11/magento-lite-attribute-set-300x182.jpg" class="attachment-thumbnail" alt="magento-lite-attribute-set" title="magento-lite-attribute-set" /></a>
<a href='http://inchoo.net/ecommerce/magento/magento-lite-experiment/attachment/magento-lite-disable-modules-output/' title='magento-lite-disable-modules-output'><img width="300" height="238" src="http://inchoo.net/wp-content/uploads/2011/11/magento-lite-disable-modules-output-300x238.jpg" class="attachment-thumbnail" alt="magento-lite-disable-modules-output" title="magento-lite-disable-modules-output" /></a>
<a href='http://inchoo.net/ecommerce/magento/magento-lite-experiment/attachment/magento-lite-editor-modules/' title='magento-lite-editor-modules'><img width="142" height="300" src="http://inchoo.net/wp-content/uploads/2011/11/magento-lite-editor-modules-142x300.jpg" class="attachment-thumbnail" alt="magento-lite-editor-modules" title="magento-lite-editor-modules" /></a>
<a href='http://inchoo.net/ecommerce/magento/magento-lite-experiment/attachment/featured-image-583/' title='Featured Image'><img width="300" height="118" src="http://inchoo.net/wp-content/uploads/2011/11/diet-choices-300x118.jpg" class="attachment-thumbnail" alt="Featured Image" title="Featured Image" /></a>

<p>Make sure to comment, thx!<br />
&#8211;Ivan</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-lite-experiment/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>New Magento Sample Data</title>
		<link>http://inchoo.net/ecommerce/magento/magento-sample-data/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-sample-data/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 17:07:50 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Starting up]]></category>
		<category><![CDATA[catalog]]></category>
		<category><![CDATA[products]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=10853</guid>
		<description><![CDATA[Official Magento sample data is a bit old (Magento 1.2) and it takes too much time to install new Magento over them, since installation is updating too many tables at &#8230;]]></description>
			<content:encoded><![CDATA[<p>Official Magento sample data is a bit old (Magento 1.2) and it takes too much time to install new Magento over them, since installation is updating too many tables at once. Also, there are some tables not present in default CE version, so we thought it would be great idea to update and clean them up a bit.<br />
<span id="more-10853"></span></p>
<p><strong><a href="http://dl.dropbox.com/u/40784982/magento-sample-data-1.6.0.0.tar.gz" target="_blank">magento-sample-data-1.6.0.0.tar.gz</a></strong></p>
<p>Magento sample data 1.6.0.0<strong> can be used only on Magento CE &gt;= 1.6.0.0</strong> (PE/EE have their own sample data). Also,<strong> do not use sample data on existing stores or existing databases</strong>, they can be used only on clean installations and Magento developers mostly use them for learning or presentation purposes.</p>
<p>How to install sample data for Magento:<br />
1. Import the sample data sql file &#8220;magento_sample_data_for_1.6.0.0.sql&#8221; into empty database<br />
2. Copy sample &#8220;media&#8221; folder over your Magento existing media folder (merge them)<br />
3. Run Magento installation and use database from step1 as install database</p>
<p>There is Magento wiki page with more detailed instructions:<br />
<a href="http://www.magentocommerce.com/knowledge-base/entry/installing-the-sample-data-for-magento" target="_blank">http://www.magentocommerce.com/knowledge-base/entry/installing-the-sample-data-for-magento</a></p>
<p>Official Magento demo site is an example of what you get when install Magento with sample data, maybe they&#8217;ll start using our updated ones from now on <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<a href="http://demo.magentocommerce.com/" target="_blank">http://demo.magentocommerce.com/</a></p>
<p>Regards,<br />
Ivan</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-sample-data/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>FireLogger &#8211; a sexy server logger console in Firebug</title>
		<link>http://inchoo.net/ecommerce/firelogger-a-sexy-server-logger-console-in-firebug/</link>
		<comments>http://inchoo.net/ecommerce/firelogger-a-sexy-server-logger-console-in-firebug/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 12:53:19 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[firebug]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=9844</guid>
		<description><![CDATA[FireLogger is a Firefox+Firebug addon which provides logging functionality similar to Firebug&#8217;s console.log. It sends logging events to a client-side encoded in HTTP headers. I always really liked an idea &#8230;]]></description>
			<content:encoded><![CDATA[<p>FireLogger is a Firefox+Firebug addon which provides logging functionality similar to Firebug&#8217;s console.log. It sends logging events to a client-side encoded in HTTP headers.</p>
<p><span id="more-9844"></span></p>
<p>I always really liked an idea of debugging through headers, mostly because you are able to log directly to Firebug and it makes debugging of live sites invisible. I came across this tool by searching for <a href="http://inchoo.net/ecommerce/magento/magento-firephp-extension/" target="_blank">Firephp</a> alternatives, since Firephp never could properly handle redirection logging and I believe latest Companion versions are overcomplicated.</p>
<p>This tool comes from Python world originally, it seems that it was called FirePython at start?! Anyway, I was testing it for a few days and it really works great, it&#8217;s stable and easy to use, complements to the author.</p>

<a href='http://inchoo.net/ecommerce/firelogger-a-sexy-server-logger-console-in-firebug/attachment/firelogger-screenshot-2/' title='firelogger-screenshot-2'><img width="300" height="264" src="http://inchoo.net/wp-content/uploads/2011/06/firelogger-screenshot-2-300x264.png" class="attachment-thumbnail" alt="firelogger-screenshot-2" title="firelogger-screenshot-2" /></a>
<a href='http://inchoo.net/ecommerce/firelogger-a-sexy-server-logger-console-in-firebug/attachment/firelogger-screenshot-1/' title='firelogger-screenshot-1'><img width="300" height="217" src="http://inchoo.net/wp-content/uploads/2011/06/firelogger-screenshot-1-300x217.png" class="attachment-thumbnail" alt="firelogger-screenshot-1" title="firelogger-screenshot-1" /></a>

<p>You can install it from official or Firefox addon page and it requires Firebug to work:<br />
<a href="http://firelogger.binaryage.com/">http://firelogger.binaryage.com/</a><br />
<a href="https://addons.mozilla.org/en-us/firefox/addon/firelogger/" target="_blank">https://addons.mozilla.org/en-us/firefox/addon/firelogger/</a></p>
<p>The tool adds another tab in Firebug named Logger in which you can see logs sent from code. If you&#8217;re dumping objects or arrays, you just click &#8220;more&#8221; and variables are shown in right Watchers window. If you click Persist button, logs stays there on redirect/reload, similar as Net functionality in Firebug.</p>
<p>For some reason, current 1.0 version didn&#8217;t worked on FF 3.X versions for me, it seems FF 4.X is required. Also, <strong>be sure that &#8220;Show User-defined properties&#8221; is checked on Watchers tab</strong> (check screenshot), otherwise you won&#8217;t see variables when clicking more in logger window.</p>
<p>Php library is well written, there is only one file you need to include in your projects and you&#8217;re good to go. It requires PHP 5.3 or higher and it&#8217;s nice example of <a href="http://php.net/manual/en/function.register-shutdown-function.php" target="_blank">register_shutdown_function</a> usage.</p>
<pre class="brush: php; title: ; notranslate">
require 'firelogger.php';
flog(&quot;Hello world!&quot;);
</pre>
<p>It can be found at:<br />
<a href="https://github.com/darwin/firelogger.php" target="_blank">https://github.com/darwin/firelogger.php</a><br />
<a href="http://firelogger.binaryage.com/#php" target="_blank">http://firelogger.binaryage.com/#php</a></p>
<p>Here is simple example I patched up together for testing purposes, to check how it works in Magento, maybe someone is interested: <a href="http://inchoo.net/wp-content/uploads/2011/06/Weiler_FireLogger_example.zip"><strong>Weiler_FireLogger_example.zip</strong></a></p>
<pre class="brush: php; title: ; notranslate">
Mage::helper('firelogger')-&gt;log('Hello world!');
$product = Mage::getModel('catalog/product')-&gt;load(100);
Mage::helper('firelogger')-&gt;debug($product);
</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/firelogger-a-sexy-server-logger-console-in-firebug/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Report from Magento Developers Paradise @ Ibiza</title>
		<link>http://inchoo.net/ecommerce/magento/mdp11-report/</link>
		<comments>http://inchoo.net/ecommerce/magento/mdp11-report/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 12:04:41 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Fun & Events]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[paradise]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=9819</guid>
		<description><![CDATA[As is mentioned earlier at one of the posts, Tomas, Ivica and me were &#8220;the chosen ones&#8221; to go to Magento developers paradise conference at Ibiza. So how was it? &#8230;]]></description>
			<content:encoded><![CDATA[<p>As is <a href="http://inchoo.net/ecommerce/magento/magento-developers-paradise-ibiza/">mentioned earlier</a> at one of the posts, Tomas, Ivica and me were &#8220;the chosen ones&#8221; to go to Magento developers paradise conference at Ibiza. So how was it? In one word &#8211; <strong>incredible</strong>. It was paradise in its true meaning.</p>
<p>Some of the members traveled by plane for the very first time so it was interesting to watch their facial expressions during the takeoff. We met lots of great people, including <a href="http://www.ceckoslab.com/">Tsvetan Stoyhev</a>, Thomas Slade from <a href="http://www.blueacorn.com/">Blue Acorn</a>, <a href="http://www.mzentrale.de/">Myuselim Myuselimov</a>,  Josh from <a href="https://www.webshopapps.com/">WebShopApps</a>, guys from Magento core team and many others.<span id="more-9819"></span></p>
<p>Organization of the conference was pretty much flawless. I enjoyed my stay in the hotel, the catamaran ride, organized visit through the old town, clubs, and free drinks everywhere. </p>
<p>The most interesting topics on the conference were Magento 2 and <a href="http://inchoo.net/ecommerce/magento/breaking-news-ebay-acquires-magento/">eBay&#8217;s acquisition of Magento</a>. In most of the lectures, speakers were referring to what can be expected in Magento 2.</p>
<ul>
<li>Extensive official Magento documentation</li>
<li>jQuery instead of Prototype</li>
<li>Better model architecture</li>
<li>Improved theme fallback system</li>
<li>Multiple DB support (Oracle anyone?)</li>
<li>&#8230;and much more.</li>
</ul>
<ul>
<p>They told us that the current under development version of Magento 2 is already 20% faster than latest stable version of Magento. I was personally really impressed with what I heard, cause I never expected this much effort and enthusiasm to improve core things. They really do know community&#8217;s problems and they are working on solutions.</p>
<p>Other products including <a href="http://inchoo.net/category/mobile-development/">Magento Mobile</a> and <a href="http://inchoo.net/ecommerce/magento/count-on-us-to-design-your-magento-go-store/">MagentoGo</a> were also presented along with some impressive statistics. </p>
<p>To conclude, we&#8217;re looking forward to the release of Magento 2, we can feel another eCommerce revolution is on its way <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><object width="610" height="457"><param name="flashvars" value="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Ftomislav-bilic%2Fsets%2F72157626920372148%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Ftomislav-bilic%2Fsets%2F72157626920372148%2F&#038;set_id=72157626920372148&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=104087"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=104087" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Ftomislav-bilic%2Fsets%2F72157626920372148%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Ftomislav-bilic%2Fsets%2F72157626920372148%2F&#038;set_id=72157626920372148&#038;jump_to=" width="610" height="457"></embed></object></ul>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/mdp11-report/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Magento CMS syntax – part2</title>
		<link>http://inchoo.net/ecommerce/magento/magento-cms-syntax-part2/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-cms-syntax-part2/#comments</comments>
		<pubDate>Sat, 28 May 2011 17:32:13 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[cms]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=9512</guid>
		<description><![CDATA[Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and static blocks. We traced a bit to find out which params are available and what &#8230;]]></description>
			<content:encoded><![CDATA[<p>Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and static blocks. We traced a bit to find out which params are available and what exactly they do.<span id="more-9512"></span><br />
<strong><a href="http://inchoo.net/ecommerce/magento/magento-cms-syntax-part1/" target="_blank"><br />
Magento CMS syntax – part1</a> is first part of this series. Please read before this.</strong></p>
<p>Since the part1 article 4 new codes were introduced in newer Magento versions, so now there&#8217;s 10 of them total: skin, media, htmlescape, store, block, layout, config, customvar, protocol and widget.</p>
<p>They are currently handled by Mage_Widget_Model_Template_Filter processor class (which extends Mage_Cms_Model_Template_Filter which extends Mage_Core_Model_Email_Template_Filter).</p>
<h2>5. blockDirective</h2>
<p>Description: Prints out cms static block or any block defined by type</p>
<p>Example:<br />
<strong>{{block id=&#8221;static_block_code&#8221;}}</strong> &#8211; static block example<br />
<strong>{{block type=&#8221;core/template&#8221; template=&#8221;custom/test.phtml&#8221;}}</strong> &#8211; core/template block with defined template</p>
<p>Synonym:<br />
Mage::app()->getLayout()->createBlock(&#8216;cms/block&#8217;)->setBlockId(&#8216;static_block_code&#8217;)->toHtml();<br />
Mage::app()->getLayout()->createBlock(&#8216;core/template&#8217;)->setTemplate(&#8216;custom/test.phtml&#8217;)->toHtml();</p>
<p>Params:<br />
id = static block code; if id is set type is always cms/block<br />
type = block type, same as in layout files<br />
Any additional parameter provided will be passed on to block object (template=&#8221;custom/test.phtml&#8221; from above example will trigger ->setTemplate(&#8220;custom/test.phtml&#8221;) on that block)</p>
<h2>6. layoutDirective</h2>
<p>Description: Reads and prints out layout handle defined in your layout xml files</p>
<p>Example: <strong>{{layout area=&#8221;frontend&#8221; handle=&#8221;my_layout_handle&#8221;}}</strong><br />
&lt;sales_email_order_items&gt; layout handle defined in sales.xml is used this way in order e-mail templates for example.</p>
<p>Synonym:<br />
$layout = Mage::getModel(&#8216;core/layout&#8217;);<br />
$layout->getUpdate()->load(&#8216;my_layout_handle&#8217;);<br />
$layout->generateXml()->generateBlocks();<br />
echo $layout->getOutput();</p>
<p>Params:<br />
area = frontend or adminhtml<br />
handle = layout handle<br />
Any additional parameter provided will be passed to every block defined in layout</p>
<h2>7. configDirective</h2>
<p>Description: Prints out Magneto config value. Use predefined through Insert Variable dialog in editor.</p>
<p>Example: <strong>{{config path=&#8221;general/store_information/address&#8221;}}</strong></p>
<p>Synonym: Mage::getStoreConfig(&#8216;general/store_information/address&#8217;);</p>
<p>Params:<br />
path = config path</p>
<h2>8. customvarDirective</h2>
<p>Description: Prints out Custom Variable HTML Value (System->Custom Variables in admin). Can be easily added through Insert Variable dialog in editor.</p>
<p>Example: <strong>{{customvar code=&#8221;my_custom_var&#8221;}}</strong></p>
<p>Synonym: Mage::getModel(&#8216;core/variable&#8217;)->loadByCode(&#8216;my_custom_var&#8217;)->getValue();</p>
<p>Params:<br />
code = custom variable code</p>
<h2>9. protocolDirective</h2>
<p>Description: Prints out current protocol (http or https) for absolute links</p>
<p>Example:<br />
<strong>{{protocol}}</strong> &#8211; current protocol http or https<br />
<strong>{{protocol url=&#8221;inchoo.net/&#8221;}}</strong> &#8211; domain URL with current protocol<br />
<strong>{{protocol http=&#8221;http://inchoo.net&#8221; https=&#8221;https://inchoo.net&#8221;}}</strong> &#8211; one or another</p>
<p>Params:<br />
url = url to print with proper protocol prefix http(s)://; (for Magento links use {{store}} code)<br />
http + https = prints out https value if viewing secure page, http value otherwise<br />
store = optional store id to check secure by that store; I&#8217;m not exactly sure what&#8217;s the purpose of this</p>
<h2>10. widgetDirective</h2>
<p>Description: Prints out defined widget. Magento widgets automatically insert these codes, for manual custom usage it&#8217;s probably better to use block codes.</p>
<p>Example: <strong>{{widget type=&#8221;catalog/product_widget_new&#8221; products_count=&#8221;5&#8243; template=&#8221;catalog/product/widget/new/content/new_list.phtml&#8221;}}</strong></p>
<p>Synonym: Mage::app()->getLayout()->createBlock(&#8216;catalog/product_widget_new&#8217;, null, array(&#8216;products_count&#8217;=>5, &#8216;template&#8217;=>&#8217;catalog/product/widget/new/content/new_list.phtml&#8217;))->toHtml();</p>
<p>Params:<br />
type = widget type, similar as block type<br />
name =  determine what name block should have in layout; probably needed only if more than one same widget is used on same page<br />
Any additional parameter provided will be passed on to widget object. There is also code that accepts id param, but it currently does nothing useful.</p>
<p><strong>Please be careful when copy/pasting examples from this article directly into Magneto, readers have reported that quotes get messed up in the process sometimes. Please type in manually.</strong></p>
<p>To be continued .. Ivan</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-cms-syntax-part2/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Emulate store in Magento</title>
		<link>http://inchoo.net/ecommerce/magento/emulate-store-in-magento/</link>
		<comments>http://inchoo.net/ecommerce/magento/emulate-store-in-magento/#comments</comments>
		<pubDate>Thu, 26 May 2011 20:45:39 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[eMail]]></category>
		<category><![CDATA[emulate]]></category>
		<category><![CDATA[store]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=9457</guid>
		<description><![CDATA[Magento 1.5 introduced very interesting piece of code that enables easy store emulation when programming, Emulation model a.k.a. Mage_Core_Model_App_Emulation class. This is how it&#8217;s done: First time I needed something &#8230;]]></description>
			<content:encoded><![CDATA[<p>Magento 1.5 introduced very interesting piece of code that enables easy store emulation when programming, Emulation model a.k.a. Mage_Core_Model_App_Emulation class.</p>
<p><span id="more-9457"></span></p>
<p>This is how it&#8217;s done:</p>
<pre class="brush: php; title: ; notranslate">
$appEmulation = Mage::getSingleton('core/app_emulation');

//Start environment emulation of the specified store
$initialEnvironmentInfo = $appEmulation-&gt;startEnvironmentEmulation($storeId);

/*
 * Any code thrown here will be executed as we are currently running that store
 * with applied locale, design and similar
 */

//Stop environment emulation and restore original store
$appEmulation-&gt;stopEnvironmentEmulation($initialEnvironmentInfo);
</pre>
<p>First time I needed something similar was when I wanted to send custom transactional e-mail for all stores at the same time as cronjob. However, the problem was that e-mail had <strong>{{block}}</strong> inside and block template needed to respect different theme set for each store. Lets say the code was something like:</p>
<pre class="brush: php; title: ; notranslate">
foreach(Mage::app()-&gt;getStores() as $store) {
  $dummyModel-&gt;setStore($store);
  $dummyModel-&gt;sendEmail();
}
</pre>
<p>If block template was at email/custom-email-block.phtml, email sent from first store needs to grab<br />
app/design/frontend/default/store1_theme/template/email/custom-email-block.phtml, second one<br />
app/design/frontend/default/store2_theme/template/email/custom-email-block.phtml and so on ..</p>
<p>With new Emulation model this is really simple task.</p>
<p>Magento implemented Emulation model for the same reason. Usage example can be seen when ProductAlert is sending email for all Magento websites at the same time, also cronjob, or in order/invoice/creditmemo e-mail sending because those e-mails are sent from administration, so no real store is set. We need to emulate the store in which order is created.</p>
<p>Anyway, topic was interesting enough for me to write this article <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/emulate-store-in-magento/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Magento 1.4.0.1 Google Analytics fix</title>
		<link>http://inchoo.net/ecommerce/magento/magento-1-4-0-1-google-analytics-fix/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-1-4-0-1-google-analytics-fix/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 09:29:56 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=4222</guid>
		<description><![CDATA[If you updated to latest Magento 1.4.0.0 or 1.4.0.1 version you may notice that Google Analytics implementation is broken. Here are few easy instructions how to fix this. Navigate to &#8230;]]></description>
			<content:encoded><![CDATA[<p>If you updated to latest Magento 1.4.0.0 or 1.4.0.1 version you may notice that Google Analytics implementation is broken. Here are few easy instructions how to fix this.<br />
<span id="more-4222"></span></p>
<p>Navigate to and open app/code/core/Mage/GoogleAnalytics/Block/Ga.php and add this on line 179</p>
<pre class="brush: php; title: ; notranslate">
var _gaq = _gaq || [];
</pre>
<p><img src="http://inchoo.net/wp-content/uploads/2010/03/google-analytics-fix.png" alt="" title="google-analytics-fix" width="600" height="240" style="margin-bottom:25px;" class="alignleft size-full wp-image-4232" /></p>
<p>Since this bug is already reported and fix can be seen on latest official svn, I don&#8217;t see any harm in modifying core files in this particular situation.<br />
<a href=" http://www.magentocommerce.com/bug-tracking/issue?issue=8658" target="_blank"></p>
<p>http://www.magentocommerce.com/bug-tracking/issue?issue=8658</a></p>
<p><a href="http://svn.magentocommerce.com/source/branches/1.4-trunk/app/code/core/Mage/GoogleAnalytics/Block/Ga.php" target="_blank">http://svn.magentocommerce.com/source/branches/1.4-trunk/app/code/core/Mage/GoogleAnalytics/Block/Ga.php</a></p>
<p>As Magento Team said, changes will be included in next stable release.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-1-4-0-1-google-analytics-fix/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>New maintenance and error features</title>
		<link>http://inchoo.net/ecommerce/magento/new-maintenance-and-error-features/</link>
		<comments>http://inchoo.net/ecommerce/magento/new-maintenance-and-error-features/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 22:54:23 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=4096</guid>
		<description><![CDATA[New Magento 1.4 brings changes in how errors are displayed along with an easy way to put your favorite store into maintenance mode. If you check index.php file of new &#8230;]]></description>
			<content:encoded><![CDATA[<p>New Magento 1.4 brings changes in how errors are displayed along with an easy way to put your favorite store into maintenance mode.<br />
<span id="more-4096"></span><br />
If you check index.php file of new Magento 1.4, you&#8217;ll notice one interesting thingy, it checks for existence of &#8220;maintenance.flag&#8221; file in store root, if it&#8217;s found your store is put into maintenance mode. Service Temporarily Unavailable page is displayed with Please try again later message. Remember that administration can&#8217;t be accessed in maintenance mode along with the store.</p>
<p>Developers probably noticed that errors also are no longer displayed like before, as <a href="http://www.magentocommerce.com/blog/comments/magento-ce-version-1401-stable-now-available/" target="_blank">mentioned on Magento blog</a>:<br />
Since version 1.4.0.0 for security reasons the trace in the Magento error report page is disabled by default. The “Error log number” does not give any information about the error. To enable the trace copy the errors/local.xml.sample to errors/local.xml and follow the instructions described in that file.</p>
<p>By default, error logs are placed in /var/report, named by mentioned log number. local.xml file is well commented, so open it and check possible configuration options. I really like emailing of error reports to specified email address.</p>
<p>If you want to change default maintenance look, you can change <skin>myskin</skin> value in /errors/local.xml file and create new /errors/myskin folder based on /errors/default. It functions the similar way as themes, if the phtml file isn&#8217;t found in your skin, the default will be used.</p>
<p><a href="http://inchoo.net/wp-content/uploads/2010/03/errors-maintenance.png"><img src="http://inchoo.net/wp-content/uploads/2010/03/errors-maintenance-150x121.png" alt="" title="errors-maintenance" width="150" height="121" class="alignleft size-thumbnail wp-image-4112" /></a><a href="http://inchoo.net/wp-content/uploads/2010/03/errors-email.png"><img style="margin-left: 15px;" src="http://inchoo.net/wp-content/uploads/2010/03/errors-email-150x123.png" alt="" title="errors-email" width="150" height="121" class="alignleft size-thumbnail wp-image-4113" /></a><br />
<br style="clear:both;" /></p>
<p>Till next time <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/new-maintenance-and-error-features/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Magento FirePHP extension</title>
		<link>http://inchoo.net/ecommerce/magento/magento-firephp-extension/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-firephp-extension/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 18:57:14 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[firebug]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3998</guid>
		<description><![CDATA[FirePHP is Firefox add-on that enables you to log to your Firebug Console, which makes it great debugging tool for any web developer. I&#8217;m using it, like it and can&#8217;t &#8230;]]></description>
			<content:encoded><![CDATA[<p>FirePHP is Firefox add-on that enables you to log to your Firebug Console, which makes it great debugging tool for any web developer. I&#8217;m using it, like it and can&#8217;t live without it for some time now <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  So here&#8217;s nicely packed Magento FirePHP extension, I believe you&#8217;ll be seeing it at Magento Connect in a while.</p>
<p><span id="more-3998"></span></p>
<p>You can get it via file: <a href="http://inchoo.net/wp-content/uploads/2010/02/magento-firephp-0.3.zip" target="_blank">magento-firephp-0.3.zip</a> or even better, use <a href="http://www.magentocommerce.com/extension/2999">Magento FirePHP Extension on Magento Connect</a>.</p>
<p>Since FirePHP is implemented in Zend Framework it&#8217;s really easy to use it with Magento, my friend Branko <a href="http://activecodeline.com/utilize-firebug-and-firephp-to-speed-up-magento-development" target="_blank">wrote about it</a> before.</p>
<p>Download FirePHP from its homepage <a href="http://www.firephp.org" target="_blank">www.firephp.org</a>. You must have <a href="http://getfirebug.com/" target="_blank">Firebug</a> installed and the &#8220;Net&#8221; panel enabled to use it, and Firefox of course.</p>
<p>Extension needs to be enabled through Magento configuration and respects Allowed IPs option if used, which is great for tracing problems on live sites:</p>
<p>System->Configuration->Developer->Debug->FirePHP<br />
System->Configuration->Developer->Developer Client Restrictions->Allowed IPs</p>
<p>After you enable FirePHP in Magento configuration you can start using it simple as</p>
<p>Mage::helper(&#8216;firephp&#8217;)->send(&#8216;Lorem ipsum sit amet ..&#8217;);<br />
Mage::helper(&#8216;firephp&#8217;)->debug(Mage::getModel(&#8216;catalog/product&#8217;)->load(54));</p>
<p>Send function sends whatever you throw in it, while debug checks for Varien_Object instance and sends Varien_Object->debug() to console. If you&#8217;re dumping usual Magento objects, be sure to use debug.</p>
<p>We&#8217;re looking forward new FirePHP 1.0 announced for this year !!</p>
<p><strong>Updated</strong><br />
0.0.3 &#8211; license change, <a href="http://inchoo.net/ecommerce/magento/magento-connect/">Magento Connect</a> release<br />
0.0.2 &#8211; fixed compatibility problem in 1.3.2.x versions<br />
0.0.1 &#8211; initial release</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-firephp-extension/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Locked Out from Magento admin?</title>
		<link>http://inchoo.net/ecommerce/magento/locked-out-from-magento-admin/</link>
		<comments>http://inchoo.net/ecommerce/magento/locked-out-from-magento-admin/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 13:26:35 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3645</guid>
		<description><![CDATA[Here&#8217;s the situation, you, client, webmaster, pet or whoever was playing with users and roles in your favorite store and deleted only main admin account or broke admin account privileges. &#8230;]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the situation, you, client, webmaster, pet or whoever was playing with users and roles in your favorite store and deleted only main admin account or broke admin account privileges. If it happened to you and you&#8217;re locked out from your Magento store, read on.<br />
<span id="more-3645"></span><br />
This script creates new admin user associated to new Inchoo role with all privileges set. Of course, you have to have FTP access for this to work.</p>
<p><a href='http://inchoo.net/wp-content/uploads/2009/12/newadmin.zip'>newadmin.zip</a></p>
<p>Download newadmin script, unpack it, open newadmin.php file (notepad will do) and define username, email and password of the new user. Username and email must be UNIQUE in Magento, so use some new ones and not the old ones that are already in the system, you&#8217;ll change it later after you login.<br />
Connect with FTP and copy newadmin.php file to root of your store and run it through web browser like</p>
<p>http://www.yourstore.com/newadmin.php</p>
<p>The script will try to delete itself after user is created, but please make sure it&#8217;s removed from the server. Code is tested on 1.3.x versions of Magento and I don&#8217;t believe it will work on older versions, so please write some feedback.</p>
<p>Regards <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/locked-out-from-magento-admin/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>Change any page title in Magento</title>
		<link>http://inchoo.net/ecommerce/magento/change-any-page-title-in-magento/</link>
		<comments>http://inchoo.net/ecommerce/magento/change-any-page-title-in-magento/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 16:26:26 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3073</guid>
		<description><![CDATA[Here&#8217;s a quicky one How do you change page title of every Magento page if some titles are hardcoded into controller? Since some controllers in Magento likes to force page &#8230;]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quicky one <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  How do you change page title of every Magento page if some titles are hardcoded into controller?</p>
<p><span id="more-3073"></span>Since some controllers in Magento likes to force page titles like</p>
<pre class="brush: php; title: ; notranslate">
$this-&gt;loadLayout();
...
$this-&gt;getLayout()-&gt;getBlock('head')-&gt;setTitle($this-&gt;__('My Account'));
$this-&gt;renderLayout();
</pre>
<p>we can&#8217;t go with setTitle through layout, since controller is setting title right before rendering.</p>
<p>There is a simple solution for this, use another variable for title display <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In page/html/head.phtml template replace default</p>
<pre class="brush: xml; title: ; notranslate">
&lt;title&gt;&lt; ?php echo $this-&gt;getTitle() ?&gt;&lt;/title&gt;
</pre>
<p>with</p>
<pre class="brush: xml; title: ; notranslate">
&lt;title&gt;
&lt; ?php echo ($this-&gt;getForcedTitle()) ? Mage::getStoreConfig('design/head/title_prefix').' '.$this-&gt;getForcedTitle().' '.Mage::getStoreConfig('design/head/title_suffix') : $this-&gt;getTitle() ?&gt;
&lt;/title&gt;
</pre>
<p>or if you don&#8217;t wish to use title prefix/sufix added from Magento admin, simply with</p>
<pre class="brush: xml; title: ; notranslate">
&lt;title&gt;
&lt; ?php echo ($this-&gt;getForcedTitle()) ? $this-&gt;getForcedTitle() : $this-&gt;getTitle() ?&gt;
&lt;/title&gt;
</pre>
<p>and now just set &#8220;forced&#8221; title for pages through layout files</p>
<pre class="brush: xml; title: ; notranslate">
&lt;reference name=&quot;head&quot;&gt;
&lt;action method=&quot;setForcedTitle&quot;&gt;&lt;title&gt;Account Dashboard&lt;/title&gt;&lt;/action&gt;
&lt;/reference&gt;
</pre>
<p>Example for My Account page in layout/customer.xml:<br />
&lt;customer_account&gt;<br />
&lt;reference name=&quot;head&quot;&gt;<br />
&lt;action method=&#8221;setForcedTitle&#8221;&gt;&lt;title&gt;Account Dashboard&lt;/title&gt;&lt;/action&gt;<br />
&lt;/reference&gt;<br />
&#8230;<br />
&lt;/customer_account&gt;</p>
<p> <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/change-any-page-title-in-magento/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Advanced Search sidebar box</title>
		<link>http://inchoo.net/ecommerce/magento/advanced-search-sidebar-box/</link>
		<comments>http://inchoo.net/ecommerce/magento/advanced-search-sidebar-box/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 20:38:22 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[sidebar]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2779</guid>
		<description><![CDATA[I was playing a bit with that advanced search form in Magento, so i thought it would be nice touch to add it to left or right column of the &#8230;]]></description>
			<content:encoded><![CDATA[<p>I was playing a bit with that advanced search form in Magento, so i thought it would be nice touch to add it to left or right column of the store.<br />
<span id="more-2779"></span></p>
<p>Since that multiple selects were causing problems and i also had to get rid of breadcrumb, i created block which extends Mage_CatalogSearch_Block_Advanced_Form functionality, added a little javascript  and packed it all to small example module:</p>
<p><a href='http://inchoo.net/wp-content/uploads/2009/08/advanced-search-sidebar2.rar'>advanced-search-sidebar.rar</a></p>
<p>Unpack the rar, copy files at its appropriate place following directory structure, disable/enable cache to rebuild configs, layouts, blocks, and you&#8217;re on.</p>
<p><img class="alignnone size-full wp-image-2818" title="advanced-search-sidebar-box-2" src="http://inchoo.net/wp-content/uploads/2009/08/advanced-search-sidebar-box-2.jpg" alt="advanced-search-sidebar-box-2" width="615" height="505" /></p>
<p>I left few comments in the code, thought someone may find them useful. Also be sure to modify</p>
<p>template/sidebarsearch/advanced/sidebar.phtml</p>
<p>and</p>
<p>layout/sidebarsearch.xml</p>
<p>to suit your shop needs, since css is hardcoded in template for example. Regards.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/advanced-search-sidebar-box/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>//WTF: why getNoObjectId???</title>
		<link>http://inchoo.net/fun-zone/wtf-why-getnoobjectid/</link>
		<comments>http://inchoo.net/fun-zone/wtf-why-getnoobjectid/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:54:21 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Fun & Events]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2851</guid>
		<description><![CDATA[Since only valid measurement of code quality are WTFs/minute, we just came across one more indisputable argument why Magento truly should be your platform of choice. click to enlarge And &#8230;]]></description>
			<content:encoded><![CDATA[<p>Since <a href="http://inchoo.net/wp-content/uploads/2009/08/wtf-code-quality.jpg" target="_blank">only valid measurement of code quality are WTFs/minute</a>, we just came across one more indisputable argument why Magento truly should be your platform of choice.<br />
<span id="more-2851"></span><br />
<a href="http://inchoo.net/wp-content/uploads/2009/08/wtf-why-getnoobjectid.jpg" target="_blank"><img src="http://inchoo.net/wp-content/uploads/2009/08/wtf-why-getnoobjectid-150x109.jpg" alt="wtf-why-getnoobjectid" title="wtf-why-getnoobjectid" width="150" height="109" class="alignnone size-thumbnail wp-image-2855" /><br />
click to enlarge<br />
</a></p>
<p>And yes, really, why getNoObjectId ??? <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/fun-zone/wtf-why-getnoobjectid/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Offline Magento problems</title>
		<link>http://inchoo.net/ecommerce/magento/offline-magento-problems/</link>
		<comments>http://inchoo.net/ecommerce/magento/offline-magento-problems/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 07:49:52 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[offline]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2726</guid>
		<description><![CDATA[I was working recently on a local server without internet connection (nothing can stop us !! ) and i noticed that Magento administration is extremely slow. Some parts of administration &#8230;]]></description>
			<content:encoded><![CDATA[<p>I was working recently on a local server without internet connection (nothing can stop us !! <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) and i noticed that Magento administration is extremely slow. Some parts of administration took up to 10 seconds to load.</p>
<p><span id="more-2726"></span></p>
<p>On every page view in admin Magento was trying to resolve widgets.magentocommerce.com address and connect to it few times which caused time delay. His notification system was trying to grab new message.</p>
<p>The solution was to disable Mage_AdminNotification module and since i was offline i didn&#8217;t really need it. You can do it in<br />
System -> Advanced -> Disable modules output</p>
<p>Some other admin parts which are using online resources will still be slower, like Dashboard for example because it is using google charts so it&#8217;s trying to connect to that, but everything else will work fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/offline-magento-problems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Display Promotion &amp; Random Products in Magento</title>
		<link>http://inchoo.net/ecommerce/magento/promotion-and-random/</link>
		<comments>http://inchoo.net/ecommerce/magento/promotion-and-random/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 23:11:21 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2785</guid>
		<description><![CDATA[There are two unused product list blocks in Magento which can be very useful if you push a few buttons, edit few layouts .. 1. Promotion Block located in app\code\core\Mage\Catalog\Block\Product\List\Promotion.php &#8230;]]></description>
			<content:encoded><![CDATA[<p>There are two unused product list blocks in Magento which can be very useful if you push a few buttons, edit few layouts ..</p>
<p><span id="more-2785"></span></p>
<p><strong>1. Promotion</strong><br />
Block located in app\code\core\Mage\Catalog\Block\Product\List\Promotion.php</p>
<p>This is basically built in featured product functionality. It reacts to &#8220;promotion&#8221; attribute which needs to be created, so let&#8217;s click<br />
Catalog->Attributes->Manage Attributes->Create New Attribute</p>
<p>Attribute Code: promotion<br />
Scope: Global<br />
Catalog Input Type for Store Owner: Yes/No</p>
<p><img src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random-1.jpg" alt="promotion-and-random-1" title="promotion-and-random-1" width="471" height="399" class="alignnone size-full wp-image-2789" /></p>
<p>Label: Promotion  (second tab)</p>
<p>Other params can be left alone, but it&#8217;s up to you of course. I also labeled it Promotion just for this article.</p>
<p>Now we need to add created attribute to attribute set, so navigate to<br />
Catalog->Attributes->Manage Attribute Sets<br />
select attribute set you&#8217;re using and drag promotion to General group for example.</p>
<p><img src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random-2.jpg" alt="promotion-and-random-2" title="promotion-and-random-2" width="471" height="399" class="alignnone size-full wp-image-2792" /></p>
<p>Now when you&#8217;re editing your products, there is new &#8220;Promotion&#8221; option under General tab. </p>
<p><img src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random-3.jpg" alt="promotion-and-random-3" title="promotion-and-random-3" width="471" height="399" class="alignnone size-full wp-image-2793" /></p>
<p>Products on which you select Yes will be shown on promotion block which can be displayed through layouts with</p>
<p>&lt;block type=&quot;catalog/product_list_promotion&quot; name=&quot;product_promotion&quot; template=&quot;catalog/product/list.phtml&quot;/&gt;</p>
<p>or as cms content with</p>
<p>{{block type=&#39;catalog/product_list_promotion&#39; template=&#39;catalog/product/list.phtml&#39;}}</p>
<p>This attribute should really be included in default attribute set or in Magento sample data.</p>
<p><strong>2. Random</strong><br />
Block located in app\code\core\Mage\Catalog\Block\Product\List\Random.php</p>
<p>This block loads random product collection from current store.</p>
<p>The fastest way to display it would also be something like</p>
<p>&lt;block type=&quot;catalog/product_list_random&quot; name=&quot;product_random&quot; template=&quot;catalog/product/list.phtml&quot;/&gt;</p>
<p>since it also extends product_list block, however, since it is random product listing, that toolbar has no purpose here, so create phtml that will suit your shop needs, based on catalog/product/list.phtml. For example, i&#8217;m using similar Random block to display random products in sidebar.</p>
<p>So long, take care, i&#8217;m off &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/promotion-and-random/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>Magento CMS syntax – part1</title>
		<link>http://inchoo.net/ecommerce/magento/magento-cms-syntax-part1/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-cms-syntax-part1/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 22:59:59 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[cms]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2505</guid>
		<description><![CDATA[Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and blocks. We traced a bit to find out which params are available and what exactly &#8230;]]></description>
			<content:encoded><![CDATA[<p>Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and blocks. We traced a bit to find out which params are available and what exactly they do.</p>
<p><span id="more-2505"></span></p>
<p>As strange as this may sound, processor class that gets called is Mage_Core_Model_Email_Template_Filter located at app/code/core/Mage/Core/Model/Email/Template/Filter.php .</p>
<p>There are also some interesting directives in superclass Varien_Filter_Template, but if i&#8217;m not mistaken, none of them can be used.</p>
<p>There are six replacement codes  that can be used and each triggers its equivalent Directive function:</p>
<p>skinDirective<br />
mediaDirective<br />
htmlescapeDirective<br />
storeDirective<br />
blockDirective<br />
layoutDirective</p>
<p>I&#8217;ll start with easier and most commonly used and continue with advanced ones in part two of this article.</p>
<p><strong>1. skinDirective</strong></p>
<p>Description: Used to retrieve path of skin folder and its files, theme fallback respected<br />
Example: {{skin url=&#8217;images/image.jpg&#8217; _theme=&#8217;blank&#8217;}}<br />
Synonym: Mage::getDesign()-&gt;getSkinUrl($params['url'], $params)<br />
Params:<br />
url = empty or relative file path<br />
_theme = alternative theme, fallbacks if file not exist<br />
_package = alternative package<br />
_area = alternative area(frontend,adminhtml)<br />
_type, _default etc. = nothing useful, somebody please correct me if i&#8217;m wrong <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>2. mediaDirective</strong></p>
<p>Description: Used to retrieve path of root/media folder and its files<br />
Example: {{media url=&#8217;image.jpg&#8217;}}<br />
Synonym: Mage::getBaseUrl(&#8216;media&#8217;) . $params['url']<br />
Params:<br />
url = empty or relative file path</p>
<p><strong>3. htmlescapeDirective</strong></p>
<p>Description: Used to escape special html chars<br />
Example: {{htmlescape var=&#8217;&lt;a href=&#8221;www.inchoo.net&#8221;&gt;inchoo&lt;/a&gt;&lt;b&gt;inchoo&lt;/b&gt;&lt;i&gt;inchoo&lt;/i&gt;&#8217; allowed_tags=&#8217;b'}}<br />
Synonym: Mage::helper(&#8216;core&#8217;)-&gt;htmlEscape($params['var'], $params['allowed_tags'])<br />
Params:<br />
var = string to escape<br />
allowed_tags = comma-separated list of allowed tags</p>
<p><strong>4. storeDirective</strong></p>
<p>Description: Used to build magento routes and custom urls<br />
Example: {{store url=&#8217;customer/account&#8217; _query_a=&#8217;8&#8242;}}<br />
Synonym: Mage::getUrl($params['url'], $params);<br />
Params:<br />
url = magento routers url<br />
direct_url = normal url, appended to baseurl<br />
_query_PARAMNAME = adds query param, for example _query_a=&#8217;8&#8242; adds a=8 to url<br />
_fragment = adds fragment, for example #comments<br />
_escape = escapes &#8220;,&#8217;,&lt;,&gt;<br />
custom = if using magento route url param, every custom param added will be appended like /a/8/b/10</p>
<p>I probably missed something in this last one, but it&#8217;s very late and i&#8217;m tired of poking through Magento <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>To be continued ..</p>
<p><strong>EDIT: <a href="http://inchoo.net/ecommerce/magento/magento-cms-syntax-part2/">Magento CMS syntax – part2</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-cms-syntax-part1/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Magento FLIR</title>
		<link>http://inchoo.net/ecommerce/magento/magento-flir/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-flir/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 20:22:02 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Frontend]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2481</guid>
		<description><![CDATA[Facelift Image Replacement (or FLIR, pronounced fleer) is an image replacement script that dynamically generates image representations of text on your web page in fonts that otherwise might not be &#8230;]]></description>
			<content:encoded><![CDATA[<p>Facelift Image Replacement (or FLIR, pronounced fleer) is an image replacement script that dynamically generates image representations of text on your web page in fonts that otherwise might not be visible to your visitors. Let&#8217;s see how it behaves in Magento.</p>
<p><span id="more-2481"></span></p>
<p>1. Download FLIR from <a href="http://facelift.mawhorter.net/" target="_blank">FLIR homepage</a>. I was using latest 1.2 stable for this article because of simplicity, but if you try you&#8217;ll find out that 2.0 beta also works great but requires little more configuration.</p>
<p>2. Unpack FLIR content (cache,fonts,etc.) inside skin/frontend/default/default/facelift<br />
I think it makes perfect sense to put it into skin folder.</p>
<p>3. Open app/design/frontend/yourpackage/yourtheme/template/page/html/head.phtml and append</p>
<p>&lt;script language=&#8221;javascript&#8221; src=&#8221;&lt;?php echo $this-&gt;getSkinUrl(&#8216;facelift/flir.js&#8217;) ?&gt;&#8221;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
document.observe(&#8220;dom:loaded&#8221;, function() {<br />
FLIR.init({ path: &#8216;&lt;?php echo $this-&gt;getSkinUrl(&#8216;facelift/&#8217;) ?&gt;&#8217; }, new FLIRStyle({ mode: &#8216;wrap&#8217; }) );<br />
FLIR.auto();<br />
});<br />
&lt;/script&gt;</p>
<p>If your php error reporting isn&#8217;t disabled add error_reporting(0); somewhere on top of config-flir.php. This is main config file from which you can define options and custom fonts, so examine it.</p>
<p>Refresh your Magento store and you <a href="http://inchoo.net/wp-content/uploads/2009/06/magento-flir-screenshot.jpg" target="_blank">should see the result</a>.</p>
<p>flir.js can also be alternatively included from layout files inside head block<br />
&lt;reference name=&#8221;head&#8221;&gt;<br />
&lt;action method=&#8221;addItem&#8221;&gt;&lt;type&gt;skin_js&lt;/type&gt;&lt;name&gt;facelift/flir.js&lt;/name&gt;&lt;/action&gt;<br />
&lt;/reference&gt;</p>
<p>There is nice <a href="http://facelift.mawhorter.net/quick-start/" target="_blank">Quick Start Guide</a> and <a href="http://docs.facelift.mawhorter.net/" target="_blank">Documentation</a> available from <a href="http://facelift.mawhorter.net/" target="_blank">FLIR homepage</a>, so i won&#8217;t go in details on some advanced FLIR settings, but here are few examples:</p>
<p>//pass selectors as comma separated list<br />
FLIR.auto(&#8216;h5,h4&#8242;);<br />
//pass an array of selectors<br />
FLIR.auto( [ 'h4', 'h5' ] );<br />
//replace manually with custom options<br />
FLIR.replace( &#8216;div.box h4&#8242; , new FLIRStyle({ mode: &#8216;wrap&#8217; , css: {&#8216;font-family&#8217;:'arial&#8217;} }) );<br />
//prototype way<br />
$$(&#8216;div.box h4&#8242;).each( function(el) { FLIR.replace(el);  } );</p>
<p>Cya.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-flir/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magento product image switcher</title>
		<link>http://inchoo.net/ecommerce/magento/magento-product-images-switcher/</link>
		<comments>http://inchoo.net/ecommerce/magento/magento-product-images-switcher/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 22:40:01 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Frontend]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[product]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2329</guid>
		<description><![CDATA[I just wrote small javascript animation example for product images and thought someone may find it useful. It&#8217;s a fast way to replace default zoom functionality for the ones that &#8230;]]></description>
			<content:encoded><![CDATA[<p>I just wrote small javascript animation example for product images and thought someone may find it useful. It&#8217;s a fast way to replace default zoom functionality for the ones that don&#8217;t like it.</p>
<p><span id="more-2329"></span>I&#8217;m actually trying to merge something like this with default zoom, but i&#8217;m not finished yet. Anyway, i left all javascript and styling in media.phtml file, so just download the file</p>
<p><a href="http://inchoo.net/wp-content/uploads/2009/06/media_phtml.rar" target="blank">media.phtml.rar</a></p>
<p>and replace it with your own at<br />
app/design/frontend/default/yourtheme/template/catalog/product/view/media.phtml</p>
<p><img src="http://inchoo.net/wp-content/uploads/2009/06/magento-slideshow2.jpg" alt="" /></p>
<p>It was made with default Magento theme. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/magento-product-images-switcher/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Flash Google maps to embed</title>
		<link>http://inchoo.net/tools-frameworks/flash-google-maps-to-embed/</link>
		<comments>http://inchoo.net/tools-frameworks/flash-google-maps-to-embed/#comments</comments>
		<pubDate>Sun, 31 May 2009 19:19:01 +0000</pubDate>
		<dc:creator>Ivan Weiler</dc:creator>
				<category><![CDATA[Fun & Events]]></category>
		<category><![CDATA[Tools & Frameworks]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[maps]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2108</guid>
		<description><![CDATA[Long time ago when Google released Google Maps API for Flash, i created small flash which i embedded on multiple sites. I thought it looks nicer that usual javascript version, &#8230;]]></description>
			<content:encoded><![CDATA[<p>Long time ago when Google released Google Maps API for Flash, i created small flash which i embedded on multiple sites. I thought it looks nicer that usual javascript version, maybe you will too.<br />
<span id="more-2108"></span><br />
Download:<br />
<a href="http://inchoo.net/wp-content/uploads/2009/05/gmap.rar" target="_blank">gmap.rar</a></p>
<p>Embed example:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;gmap.swf&quot; width=&quot;620&quot; height=&quot;400&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;gmap.swf&quot; /&gt;
	&lt;param name=&quot;flashvars&quot;
value=&quot;key=google-key-here&amp;lat=45.557589&amp;lng=18.691403&amp;zoom=15&amp;text=&lt;b&gt;Inchoo d.o.o.&lt;br /&gt;Lorem ipsum sit amet ..&quot; /&gt;
&lt;/param&gt;&lt;/object&gt;
</pre>
<p>Flashvars:<br />
key= <a href="http://code.google.com/apis/maps/signup.html" target="_blank">Google maps api key</a><br />
lat= latitude<br />
lng= longitude<br />
zoom= zoom amount<br />
text= html text displayed on marker click</p>
<p>Demo:<br />
<object type="application/x-shockwave-flash" data="http://inchoo.net/wp-content/uploads/2009/05/gmap.swf" width="620" height="400"><param name="movie" value="http://inchoo.net/wp-content/uploads/2009/05/gmap.swf" /><param name="flashvars" value="key=ABQIAAAAU0YRZcTlMtWJFzKNJJwudhS7kttqrsDRll4SLbvUP00LIE6izRQkKn2M8brFWB9hpJ1CcVtGlmSLog&#038;lat=45.557589&#038;lng=18.691403&#038;zoom=15&#038;text=&lt;b&gt;Inchoo d.o.o.&lt;/b&gt;&lt;br /&gt;Lorem ipsum sit amet .." /></object></p>
<p>I&#8217;m currently looking for source code for this on my old hard drive and i&#8217;ll update this post with flex source code as soon as i find it <img src='http://inchoo.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/tools-frameworks/flash-google-maps-to-embed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

