Mage_Econda - Version 1.5.6

Version Notes

Integration of econda Web Controlling functions.

Download this release

Release Info

Developer Magento Core Team
Extension Mage_Econda
Version 1.5.6
Comparing to
See all releases


Code changes from version 1.5.5 to 1.5.6

app/code/local/Mage/Econda/Block/Econda.php CHANGED
@@ -232,7 +232,7 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
232
  /**
233
  * Display script code
234
  */
235
- $emosString = "\n\n<!-- Start Econda-Monitor M155 -->\n";
236
  $emosString .= $emos->toString();
237
  $emosString .= "<!-- End Econda-Monitor -->\n\n";
238
 
232
  /**
233
  * Display script code
234
  */
235
+ $emosString = "\n\n<!-- Start Econda-Monitor M156 -->\n";
236
  $emosString .= $emos->toString();
237
  $emosString .= "<!-- End Econda-Monitor -->\n\n";
238
 
app/code/local/Mage/Econda/Block/EcondaOp.php CHANGED
@@ -66,7 +66,7 @@ class Mage_Econda_Block_EcondaOp extends Mage_Core_Block_Template
66
  $emosLogin .= " emospro.login = [['".$customerId."','0']];\n";
67
  $opsession->setData('econda_logged','2');
68
  }
69
- $emosOut = "\n\n<!-- Start Econda-Monitor M155 -->\n";
70
  $emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
71
  $emosOut .= " window.emosTrackVersion = 2;\n";
72
  $emosOut .= "//]]>\n</script>";
66
  $emosLogin .= " emospro.login = [['".$customerId."','0']];\n";
67
  $opsession->setData('econda_logged','2');
68
  }
69
+ $emosOut = "\n\n<!-- Start Econda-Monitor M156 -->\n";
70
  $emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
71
  $emosOut .= " window.emosTrackVersion = 2;\n";
72
  $emosOut .= "//]]>\n</script>";
app/code/local/Mage/Econda/Model/Base.php CHANGED
@@ -60,7 +60,8 @@ class Mage_Econda_Model_Base extends Mage_Core_Model_Abstract
60
  $searchQuery = Mage::helper('catalogSearch')->getQueryText();
61
  $getQuery = Mage::helper('catalogSearch')->getQuery();
62
  $searchQuery = $getQuery->query_text;
63
- $searchHits = $getQuery->num_results;
 
64
  $search = array($searchQuery, $searchHits);
65
  }
66
  if(stristr($this->realUrl,'/catalogsearch/advanced/result/?') != false) {
@@ -69,8 +70,9 @@ class Mage_Econda_Model_Base extends Mage_Core_Model_Abstract
69
  foreach($searchCriterias as $val) {
70
  $searchQuery .= $val['value'];
71
  }
72
- $productCollection = Mage::getSingleton('catalogsearch/advanced')->getProductCollection();
73
- $search = array($searchQuery, sizeof($productCollection));
 
74
  }
75
  return $search;
76
  }
60
  $searchQuery = Mage::helper('catalogSearch')->getQueryText();
61
  $getQuery = Mage::helper('catalogSearch')->getQuery();
62
  $searchQuery = $getQuery->query_text;
63
+ $searchHitsRes = $getQuery->num_results;
64
+ $searchHits = (int)$searchHitsRes;
65
  $search = array($searchQuery, $searchHits);
66
  }
67
  if(stristr($this->realUrl,'/catalogsearch/advanced/result/?') != false) {
70
  foreach($searchCriterias as $val) {
71
  $searchQuery .= $val['value'];
72
  }
73
+ $productCollectionRes = Mage::getSingleton('catalogsearch/advanced')->getProductCollection();
74
+ $productCollection = sizeof($productCollectionRes);
75
+ $search = array($searchQuery, $productCollection);
76
  }
77
  return $search;
78
  }
app/code/local/Mage/Econda/etc/config.xml CHANGED
@@ -11,7 +11,7 @@
11
  <config>
12
  <modules>
13
  <Mage_Econda>
14
- <version>1.5.4</version>
15
  </Mage_Econda>
16
  </modules>
17
  <frontend>
11
  <config>
12
  <modules>
13
  <Mage_Econda>
14
+ <version>1.5.6</version>
15
  </Mage_Econda>
16
  </modules>
17
  <frontend>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Econda</name>
4
- <version>1.5.5</version>
5
  <stability>stable</stability>
6
- <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Bindet econda Web Shop Controlling in Magento ein. Inserts econda Web Shop Contolling into Magento.</summary>
10
  <description>Bindet econda Web Shop Controlling in Magento ein. Weitere Informationen unter http://www.econda.de. Inserts econda Web Shop Contolling into Magento. For further information visit http://www.econda.de/</description>
11
  <notes>Integration of econda Web Controlling functions.</notes>
12
  <authors><author><name>ecdev</name><user>auto-converted</user><email>bebop30@gmx.net</email></author></authors>
13
- <date>2011-02-14</date>
14
- <time>16:34:40</time>
15
- <contents><target name="magelocale"><dir name="de_AT"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="de_CH"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="de_DE"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="en_US"><file name="Mage_Econda.csv" hash="19027c08d453acf6f88d9d4866203a94"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="econda.xml" hash="b246d7ac21ddf846533cad0063521669"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="396ed7d4cfa91e3192f9deaa09376d91"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="b246d7ac21ddf846533cad0063521669"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="396ed7d4cfa91e3192f9deaa09376d91"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="tracker"><file name="emos2.js" hash="9063366f40aa9cb4065d5f1091a47f6a"/><file name="emosop.js" hash="a3c52bc5a3378e42754a9d90eff63b33"/></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Econda"><dir name="Block"><file name="Econda.php" hash="b92b94c5baae0fa6875383cb33fbf2b4"/><file name="EcondaOp.php" hash="e5480ec3005bf6d83af0a7e571d17884"/><file name="Emos.php" hash="5eb0b8e1a041c7b0b62b1bdc1cae3025"/></dir><dir name="etc"><file name="config.xml" hash="fb954334f5208688216d454845c3ccf2"/><file name="system.xml" hash="34b54d956d9c28aeb21b68303d2e9c1b"/></dir><dir name="Helper"><file name="Data.php" hash="594c19902a006cc55aeb4914fca3a559"/></dir><dir name="Model"><file name="Base.php" hash="11714bdcc028c22d4b64637a598c08c1"/><file name="Basket.php" hash="278a60d060d7066f1f2682bec64b6fd8"/><file name="Cancellation.php" hash="f8e8c5b4f9a218a0a58af06c4e256ef8"/><file name="Item.php" hash="93603c0b98675697e723d54f51afc2e0"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Billing.php" hash="fc5b34406e5c5365ab5eb055dbeb9027"/><file name="Language.php" hash="6d0080dab0fe91d6a77f2a699b5e6f62"/><file name="Siteid.php" hash="6d496050d9aafae7d10f29ac544567e5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Econda.xml" hash="bd9c935d379e7343bd91e79372bc426e"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Econda</name>
4
+ <version>1.5.6</version>
5
  <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Bindet econda Web Shop Controlling in Magento ein. Inserts econda Web Shop Contolling into Magento.</summary>
10
  <description>Bindet econda Web Shop Controlling in Magento ein. Weitere Informationen unter http://www.econda.de. Inserts econda Web Shop Contolling into Magento. For further information visit http://www.econda.de/</description>
11
  <notes>Integration of econda Web Controlling functions.</notes>
12
  <authors><author><name>ecdev</name><user>auto-converted</user><email>bebop30@gmx.net</email></author></authors>
13
+ <date>2011-03-02</date>
14
+ <time>15:11:39</time>
15
+ <contents><target name="magelocale"><dir name="de_AT"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="de_CH"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="de_DE"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="en_US"><file name="Mage_Econda.csv" hash="19027c08d453acf6f88d9d4866203a94"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="econda.xml" hash="b246d7ac21ddf846533cad0063521669"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="396ed7d4cfa91e3192f9deaa09376d91"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="b246d7ac21ddf846533cad0063521669"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="396ed7d4cfa91e3192f9deaa09376d91"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="tracker"><file name="emos2.js" hash="9063366f40aa9cb4065d5f1091a47f6a"/><file name="emosop.js" hash="a3c52bc5a3378e42754a9d90eff63b33"/></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Econda"><dir name="Block"><file name="Econda.php" hash="161535ca027dc3b8a97878628853775a"/><file name="EcondaOp.php" hash="d3e273e4694c80576f6931f0fd01b707"/><file name="Emos.php" hash="5eb0b8e1a041c7b0b62b1bdc1cae3025"/></dir><dir name="etc"><file name="config.xml" hash="43873ca2f07df9b71a8f25f1d558db11"/><file name="system.xml" hash="34b54d956d9c28aeb21b68303d2e9c1b"/></dir><dir name="Helper"><file name="Data.php" hash="594c19902a006cc55aeb4914fca3a559"/></dir><dir name="Model"><file name="Base.php" hash="1d1d4df3bd22cea0dfc52837cde79d1e"/><file name="Basket.php" hash="278a60d060d7066f1f2682bec64b6fd8"/><file name="Cancellation.php" hash="f8e8c5b4f9a218a0a58af06c4e256ef8"/><file name="Item.php" hash="93603c0b98675697e723d54f51afc2e0"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Billing.php" hash="fc5b34406e5c5365ab5eb055dbeb9027"/><file name="Language.php" hash="6d0080dab0fe91d6a77f2a699b5e6f62"/><file name="Siteid.php" hash="6d496050d9aafae7d10f29ac544567e5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Econda.xml" hash="bd9c935d379e7343bd91e79372bc426e"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>