<?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>Unirgy &#187; Extensions</title>
	<atom:link href="http://www.unirgy.com/blog/category/magento/extensions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unirgy.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 16 Mar 2011 20:34:55 +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>Rapid Prototyping for Custom Magento Extensions</title>
		<link>http://www.unirgy.com/blog/2010/12/rapid-prototyping-for-custom-magento-extensions/</link>
		<comments>http://www.unirgy.com/blog/2010/12/rapid-prototyping-for-custom-magento-extensions/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 01:55:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://www.unirgy.com/blog/?p=125</guid>
		<description><![CDATA[I&#8217;ve finally had enough of dreading to write all the configuration for each custom module, and invested a couple of hours into this: http://unirgy.com/wiki/uscaffold Feedback is welcome as always!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally had enough of dreading to write all the configuration for each custom module, and invested a couple of hours into this:</p>
<p><a href="http://unirgy.com/wiki/uscaffold">http://unirgy.com/wiki/uscaffold</a></p>
<p>Feedback is welcome as always!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unirgy.com/blog/2010/12/rapid-prototyping-for-custom-magento-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding your extension version to admin pages</title>
		<link>http://www.unirgy.com/blog/2009/07/adding-your-extension-version-to-admin-pages/</link>
		<comments>http://www.unirgy.com/blog/2009/07/adding-your-extension-version-to-admin-pages/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:59:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://unirgy.com/devz/blog/?p=38</guid>
		<description><![CDATA[So you&#8217;d like users of your extension to know which version it is, so you can give them support, without asking them to open extension files? In your helper add this method: public function addAdminhtmlVersion($module) { $layout = Mage::app()-&#62;getLayout(); $version = (string)Mage::getConfig() -&#62;getNode(&#34;modules/{$module}/version&#34;); $layout-&#62;getBlock(&#039;before_body_end&#039;)-&#62;append( $layout-&#62;createBlock(&#039;core/text&#039;)-&#62;setText(&#039; &#60;script type=&#34;text/javascript&#34;&#62; $$(&#34;.legality&#34;)[0].insert({after:&#34;&#039;.$module.&#039; ver. &#039;.$version.&#039;&#60;br/&#62;&#34;}); &#60;/script&#62; &#039;) ); return $this; [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;d like users of your extension to know which version it is, so you can give them support, without asking them to open extension files?</p>
<p>In your helper add this method:</p>
<pre class="brush: php; ">

public function addAdminhtmlVersion($module)
{
    $layout = Mage::app()-&gt;getLayout();
    $version = (string)Mage::getConfig()
        -&gt;getNode(&quot;modules/{$module}/version&quot;);

    $layout-&gt;getBlock(&#039;before_body_end&#039;)-&gt;append(
        $layout-&gt;createBlock(&#039;core/text&#039;)-&gt;setText(&#039;

&lt;script type=&quot;text/javascript&quot;&gt;
$$(&quot;.legality&quot;)[0].insert({after:&quot;&#039;.$module.&#039; ver. &#039;.$version.&#039;&lt;br/&gt;&quot;});
&lt;/script&gt;

        &#039;)
    );

    return $this;
}
</pre>
<p>And in your controller action, add the method call:</p>
<pre class="brush: php; ">

// ADD:
Mage::helper(&#039;yourhelper&#039;)-&gt;addAdminhtmlVersion(&#039;Your_Module&#039;);
// BEFORE:
$this-&gt;renderLayout();
</pre>
<p>Now on admin pages that were introduced by your module it will show &#8220;Your_Module ver. 1.2.3&#8243; right above the Magento version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unirgy.com/blog/2009/07/adding-your-extension-version-to-admin-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

