Version Notes
Version 1.2.3:
* Fix Category 404's for non-default categories
Download this release
Release Info
| Developer | stockinchannel |
| Extension | Sinch_Tonerconfigurator |
| Version | 1.2.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.2 to 1.2.3
app/code/local/Sinch/Tonerconfigurator/Model/Category.php
CHANGED
|
@@ -1,10 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
class Sinch_Tonerconfigurator_Model_Category {
|
| 3 |
-
|
| 4 |
-
public function showResults($catId){
|
| 5 |
-
$url = Mage::getModel("catalog/category")->load($catId)->getUrl();
|
| 6 |
-
Mage::app()->getFrontController()->getResponse()->setRedirect($url);
|
| 7 |
-
}
|
| 8 |
public function getTonerConfiguratorTitles(){
|
| 9 |
$titles = Mage::getStoreConfig( 'tonerconfigurator/options/titles' );
|
| 10 |
return $titles;
|
| 1 |
<?php
|
| 2 |
class Sinch_Tonerconfigurator_Model_Category {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
public function getTonerConfiguratorTitles(){
|
| 4 |
$titles = Mage::getStoreConfig( 'tonerconfigurator/options/titles' );
|
| 5 |
return $titles;
|
app/code/local/Sinch/Tonerconfigurator/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Sinch_Tonerconfigurator>
|
| 5 |
-
<version>1.2.
|
| 6 |
</Sinch_Tonerconfigurator>
|
| 7 |
</modules>
|
| 8 |
|
|
@@ -17,7 +17,6 @@
|
|
| 17 |
</tonerconfigurator>
|
| 18 |
</routers>
|
| 19 |
</frontend>
|
| 20 |
-
|
| 21 |
<global>
|
| 22 |
<blocks>
|
| 23 |
<tonerconfigurator>
|
|
@@ -28,28 +27,17 @@
|
|
| 28 |
<tonerconfigurator>
|
| 29 |
<class>Sinch_Tonerconfigurator_Helper</class>
|
| 30 |
</tonerconfigurator>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
</helpers>
|
| 32 |
<models>
|
| 33 |
<tonerconfigurator>
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
</tonerconfigurator>
|
| 37 |
-
<tonerconfigurator_mysql4>
|
| 38 |
-
<class>Sinch_Tonerconfigurator_Model_Mysql4</class>
|
| 39 |
-
</tonerconfigurator_mysql4>
|
| 40 |
</models>
|
| 41 |
-
<resources>
|
| 42 |
-
<tonerconfigurator_write>
|
| 43 |
-
<connection>
|
| 44 |
-
<use>core_write</use>
|
| 45 |
-
</connection>
|
| 46 |
-
</tonerconfigurator_write>
|
| 47 |
-
<tonerconfigurator_read>
|
| 48 |
-
<connection>
|
| 49 |
-
<use>core_read</use>
|
| 50 |
-
</connection>
|
| 51 |
-
</tonerconfigurator_read>
|
| 52 |
-
</resources>
|
| 53 |
</global>
|
| 54 |
<default>
|
| 55 |
<tonerconfigurator>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Sinch_Tonerconfigurator>
|
| 5 |
+
<version>1.2.3</version>
|
| 6 |
</Sinch_Tonerconfigurator>
|
| 7 |
</modules>
|
| 8 |
|
| 17 |
</tonerconfigurator>
|
| 18 |
</routers>
|
| 19 |
</frontend>
|
|
|
|
| 20 |
<global>
|
| 21 |
<blocks>
|
| 22 |
<tonerconfigurator>
|
| 27 |
<tonerconfigurator>
|
| 28 |
<class>Sinch_Tonerconfigurator_Helper</class>
|
| 29 |
</tonerconfigurator>
|
| 30 |
+
<catalog>
|
| 31 |
+
<rewrite>
|
| 32 |
+
<category>Sinch_Tonerconfigurator_Helper_Category</category>
|
| 33 |
+
</rewrite>
|
| 34 |
+
</catalog>
|
| 35 |
</helpers>
|
| 36 |
<models>
|
| 37 |
<tonerconfigurator>
|
| 38 |
+
<class>Sinch_Tonerconfigurator_Model</class>
|
| 39 |
+
</tonerconfigurator>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
</models>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
</global>
|
| 42 |
<default>
|
| 43 |
<tonerconfigurator>
|
app/code/local/Sinch/Tonerconfigurator/sql/mysql4-install-0.1.0.php
DELETED
|
@@ -1,9 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
$installer = $this;
|
| 3 |
-
|
| 4 |
-
$installer->startSetup();
|
| 5 |
-
|
| 6 |
-
$installer->run("");
|
| 7 |
-
|
| 8 |
-
$installer->endSetup();
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
|
@@ -1,21 +1,19 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Sinch_Tonerconfigurator</name>
|
| 4 |
-
<version>1.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Stockinthechannel.com's Toner Configurator</summary>
|
| 10 |
<description>Toner Configurator for use with Stockinthechannel.com's Toner Feed Export</description>
|
| 11 |
-
<notes>Version 1.2.
|
| 12 |
-
|
| 13 |
-
* Fix IE9 Compatability
|
| 14 |
-
* Conform to the HTML specification</notes>
|
| 15 |
<authors><author><name>stockinchannel</name><user>stockinchannel</user><email>support@stockinthechannel.com</email></author><author><name>Nick Anstee</name><user>nicka101</user><email>nick@stockinthechannel.com</email></author></authors>
|
| 16 |
-
<date>
|
| 17 |
-
<time>
|
| 18 |
-
<contents><target name="magelocal"><dir name="Sinch"><dir name="Tonerconfigurator"><dir name="Block"><file name="Configurator.php" hash="aa540c9a2bbc7bbdbfa52bd996c40967"/><file name="Configuratordropdowns.php" hash="b71cd48c7afd90c1a85f3379875480c3"/></dir><dir name="Helper"><file name="Category.php" hash="4ae090a183e13b2b6f88669bcb7f00ef"/><file name="Data.php" hash="963744c7c85b3179d7a8287d253c17ac"/></dir><dir name="Model"><file name="Category.php" hash="
|
| 19 |
<compatible/>
|
| 20 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 21 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Sinch_Tonerconfigurator</name>
|
| 4 |
+
<version>1.2.3</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Stockinthechannel.com's Toner Configurator</summary>
|
| 10 |
<description>Toner Configurator for use with Stockinthechannel.com's Toner Feed Export</description>
|
| 11 |
+
<notes>Version 1.2.3:
|
| 12 |
+
* Fix Category 404's for non-default categories</notes>
|
|
|
|
|
|
|
| 13 |
<authors><author><name>stockinchannel</name><user>stockinchannel</user><email>support@stockinthechannel.com</email></author><author><name>Nick Anstee</name><user>nicka101</user><email>nick@stockinthechannel.com</email></author></authors>
|
| 14 |
+
<date>2014-01-07</date>
|
| 15 |
+
<time>13:25:28</time>
|
| 16 |
+
<contents><target name="magelocal"><dir name="Sinch"><dir name="Tonerconfigurator"><dir name="Block"><file name="Configurator.php" hash="aa540c9a2bbc7bbdbfa52bd996c40967"/><file name="Configuratordropdowns.php" hash="b71cd48c7afd90c1a85f3379875480c3"/></dir><dir name="Helper"><file name="Category.php" hash="4ae090a183e13b2b6f88669bcb7f00ef"/><file name="Data.php" hash="963744c7c85b3179d7a8287d253c17ac"/></dir><dir name="Model"><file name="Category.php" hash="fa7553d4c8b6d8f166d145f2ea0204f8"/></dir><dir name="controllers"><file name="AjaxController.php" hash="05ec5f6fc5cfb950ede11fff4a7f1d63"/></dir><dir name="etc"><file name="config.xml" hash="ba7ca4cf159f21a49c9f150e48632c07"/><file name="widget.xml" hash="6cd08f045ee8517d267d5d1c4e64990a"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sinch_Tonerconfigurator.xml" hash="27db1fe889731da93159361df23dcd45"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="tonerconfigurator"><file name="configurator.phtml" hash="8a8863f441cfb008fcb4c0e5673d35ca"/><file name="configuratordropdowns.phtml" hash="a3cf9439915387af3382c65b2422c765"/><file name="configuratorscript.phtml" hash="97c0906802690f04455b89b7ed530255"/></dir></dir><dir name="layout"><file name="tonerconfigurator.xml" hash="212a8975fa16dea8516740c013e352d1"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="tonerconfigurator"><file name="custom.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="default-noback.css" hash="8cc8540b73809ad6d3e41fb263e6afb3"/><file name="default.css" hash="e4244af2f6e0c5341d30824d050fdd5b"/><file name="inline-noback.css" hash="089a41d0fdb9f61ce83c7af7c6766599"/><file name="inline.css" hash="c9586ceccebc9c928df0deaa96fbf31b"/></dir></dir><dir name="js"><dir name="tonerconfigurator"><file name="spin.js" hash="a0a33607d171b0b3a1935e45c6a96de9"/></dir></dir></dir></dir></dir></target></contents>
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 19 |
</package>
|
