Skip to content
Snippets Groups Projects
Commit f45979d0 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fix helper loading; Add packaging settings

parent b57fba5c
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ class OpenTools_Ordernumber_Model_Observer extends Mage_Core_Model_Abstract
$digits = Mage::getStoreConfig($cfgprefix.'/digits', $storeId);
// First, replace all variables:
$helper = Mage::helper('opentools/ordernumber');
$helper = Mage::helper('ordernumber');
$info = array('order'=>$order, $nrtype=>$object);
$nr = $helper->replace_fields ($format, $nrtype, $info);
......
<?xml version="1.0"?>
<package>
<name>OpenTools_Ordernumber</name>
<version>1.0.0.0.1</version>
<stability>stable</stability>
<license>GNU</license>
<channel>community</channel>
<extends/>
<summary>"Ordernumber Management" extension allows a merchant to manage ordernumber posts in the admin panel and than view them on front-end.</summary>
<description>"Ordernumber Management" extension allows a merchant to manage ordernumber posts in the admin panel (Ordernumber -&gt; Manage Ordernumber) and than view them on front-end using a link in the footer.</description>
<notes>Stable version 1.0.0.0.1</notes>
<authors><author><name>Magento ECG Team</name><user>Magento</user><email>ecgm@magento.com</email></author></authors>
<date>2012-05-24</date>
<time>11:38:00</time>
<contents><target name="mageetc"><dir name="modules"><file name="OpenTools_Ordernumber.xml" hash="fccb65035ea34bcdb0a5c8a7e1c3bb2b"/></dir></target><target name="magecommunity"><dir name="OpenTools"><dir name="Ordernumber"><dir name="Block"><dir name="Adminhtml"><dir name="Ordernumber"><dir name="Edit"><dir name="Form"><dir name="Element"><file name="Image.php" hash="d388223f05b92deb270adc837f9a524e"/></dir></dir><file name="Form.php" hash="cb2fb0d358cae118580b4fd572602651"/><dir name="Tab"><file name="Content.php" hash="7d01d8a13bf1e8100ebb6f25297bf431"/><file name="Image.php" hash="c04cb6e7c310496fdc112659438e9cdb"/><file name="Main.php" hash="dd43e9d82c86679fd0291ee7412cbb94"/></dir><file name="Tabs.php" hash="56904deb0665360c17e3bb12a63fe662"/></dir><file name="Edit.php" hash="cf640233aaa30b40cbf6c363c6453e6f"/><file name="Grid.php" hash="2f685baa67aca68f5f7bfbdf467dda3c"/></dir><file name="Ordernumber.php" hash="91027cb3b7fc34de3ab3ace0a69045b1"/></dir><file name="Item.php" hash="24bdd8655e7276a375ae4e5a6f51e1e1"/><file name="List.php" hash="d15c715d156c0b8cf40ab112e5e13462"/></dir><dir name="Helper"><file name="Admin.php" hash="fe7751b9608dee242006c66142830a90"/><file name="Data.php" hash="9d05a403e7525e9a3e04eec2f44930ee"/><file name="Image.php" hash="5f0a4aa26612d0cfcbd843cea09b31c5"/></dir><dir name="Model"><file name="Ordernumber.php" hash="b8915a6c90c933ed2add159e25593508"/><file name="Observer.php" hash="2484ce515d946aeaed0696143a91d937"/><dir name="Resource"><dir name="Ordernumber"><file name="Collection.php" hash="b96af31d03106faf1022e9dbc33ec404"/></dir><file name="Ordernumber.php" hash="c77e80e66285c9c773367393b6e726e9"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OrdernumberController.php" hash="e8f50764386748aface3df8a2aa9c0f5"/></dir><file name="IndexController.php" hash="4b4ccc62269cf3f6c569675fc6f811a6"/></dir><dir name="data"><dir name="opentools_ordernumber_setup"><file name="data-install-1.0.0.0.1.php" hash="158eef10c425dea749541f9cc913b1a0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="48c7c85184dfe90e7cacdf69af05ec74"/><file name="config.xml" hash="5e8afd585c5cafd952d70d6383057791"/><file name="system.xml" hash="d55852f5e6a31bb8294e670388ab9ac2"/></dir><dir name="sql"><dir name="opentools_ordernumber_setup"><file name="install-1.0.0.0.1.php" hash="39d7c34cc62ba0e01bd758fcf400ac27"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="opentools_ordernumber.xml" hash="796f90e932cad8c2655e9cb530cba376"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="opentools_ordernumber.xml" hash="8167edaeee637e4ada35cdb94a8c38bf"/></dir><dir name="template"><dir name="opentools"><dir name="ordernumber"><file name="item.phtml" hash="96e25083e8e7608507d4818eb6279083"/><file name="list.phtml" hash="2eef6158b07d81f9fb17f3dae57eda6a"/></dir></dir></dir></dir></dir></dir></target></contents>
<compatible/>
<dependencies><required><php><min>5.2.0</min><max>5.3.99</max></php></required></dependencies>
</package>
<_>
<form_key>1yggEOTnk5zBnKki</form_key>
<name>OpenTools_Ordernumber</name>
<channel>community</channel>
<version_ids>
<version_ids>2</version_ids>
</version_ids>
<summary>Customize order, invoice, shipment and creditmemo numbers.</summary>
<description>This extensions allows you to freely customize the order, invoice, shipment and creditmemo numbers. Even multiple counters are possible.</description>
<license>OSL</license>
<license_uri/>
<version>0.1.0</version>
<stability>devel</stability>
<notes>Very first released version, should correctly assign all numbers, though.</notes>
<authors>
<name>
<name>Reinhold Kainhofer</name>
</name>
<user>
<user>opentools</user>
</user>
<email>
<email>office@open-tools.net</email>
</email>
</authors>
<depends_php_min>5.3.0</depends_php_min>
<depends_php_max>999999.9.9</depends_php_max>
<depends>
<package>
<name>
<name/>
</name>
<channel>
<channel/>
</channel>
<min>
<min/>
</min>
<max>
<max/>
</max>
<files>
<files> </files>
</files>
</package>
<extension>
<name>
<name>Core</name>
</name>
<min>
<min/>
</min>
<max>
<max/>
</max>
</extension>
</depends>
<contents>
<target>
<target>magelocal</target>
<target>magecommunity</target>
<target>mageetc</target>
</target>
<path>
<path/>
<path>OpenTools/Ordernumber/</path>
<path>modules/OpenTools_Ordernumber.xml</path>
</path>
<type>
<type>file</type>
<type>dir</type>
<type>file</type>
</type>
<include>
<include/>
<include/>
<include/>
</include>
<ignore>
<ignore/>
<ignore/>
<ignore/>
</ignore>
</contents>
</_>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment