Version Notes
changes and bug fixes
Download this release
Release Info
Developer | shivkumar singh |
Extension | FilterProductsByZIP |
Version | 0.4.0 |
Comparing to | |
See all releases |
Code changes from version 0.3.0 to 0.4.0
app/code/local/ConversionBug/Core/Block/System/Config/Info.php
CHANGED
@@ -16,6 +16,17 @@ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_A
|
|
16 |
$adminEmail = $adminUser->getUser()->getEmail();
|
17 |
$url = Mage::getBaseUrl();
|
18 |
$ip = $_SERVER['REMOTE_ADDR'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
$html = <<<HTML
|
21 |
<div class="cb-intro">
|
@@ -30,7 +41,7 @@ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_A
|
|
30 |
<a href="mailto:support@conversionbug.com">support@conversionbug.com</a>
|
31 |
</li>
|
32 |
<li class="cb-skype">
|
33 |
-
<a href="#">
|
34 |
</li>
|
35 |
<ul>
|
36 |
</div>
|
@@ -40,8 +51,9 @@ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_A
|
|
40 |
var email = "$adminEmail",
|
41 |
url = "$url",
|
42 |
ip = "$ip";
|
43 |
-
extension = "M1-Filter Products By Zip-Code";
|
44 |
-
|
|
|
45 |
</script>
|
46 |
HTML;
|
47 |
|
16 |
$adminEmail = $adminUser->getUser()->getEmail();
|
17 |
$url = Mage::getBaseUrl();
|
18 |
$ip = $_SERVER['REMOTE_ADDR'];
|
19 |
+
$modules = Mage::getConfig()->getNode('modules')->children();
|
20 |
+
$modulesArray = (array)$modules;
|
21 |
+
Mage::log($modulesArray,null,"modules.log");
|
22 |
+
$options = array();
|
23 |
+
foreach($modules as $key => $value):
|
24 |
+
if (strpos($key, 'ConversionBug') !== FALSE):
|
25 |
+
$options[] = $key;
|
26 |
+
endif;
|
27 |
+
endforeach;
|
28 |
+
$string = implode(', ', $options);
|
29 |
+
Mage::log($string,null,"string.log");
|
30 |
|
31 |
$html = <<<HTML
|
32 |
<div class="cb-intro">
|
41 |
<a href="mailto:support@conversionbug.com">support@conversionbug.com</a>
|
42 |
</li>
|
43 |
<li class="cb-skype">
|
44 |
+
<a href="#">conversionbug</a>
|
45 |
</li>
|
46 |
<ul>
|
47 |
</div>
|
51 |
var email = "$adminEmail",
|
52 |
url = "$url",
|
53 |
ip = "$ip";
|
54 |
+
//extension = "M1-Filter Products By Zip-Code";
|
55 |
+
extension = "$string";
|
56 |
+
conversionbug.init(url,email,ip,extension);
|
57 |
</script>
|
58 |
HTML;
|
59 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>FilterProductsByZIP</name>
|
4 |
-
<version>0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.ConversionBug.com/license-agreement.html">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -41,9 +41,9 @@ Compatible with:
|
|
41 |
Community: 1.9.2</description>
|
42 |
<notes>changes and bug fixes</notes>
|
43 |
<authors><author><name>shivkumar singh</name><user>shivkumar</user><email>shivam.kumar@conversionbug.com</email></author></authors>
|
44 |
-
<date>2016-12-
|
45 |
-
<time>
|
46 |
-
<contents><target name="magelocal"><dir name="ConversionBug"><dir name="Core"><dir name="Block"><file name="Info.php" hash="615b0df84a02bd72de0a75c2a60181af"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Product.php" hash="d0b451bf63512ca2e4f4ef4e0dc200c5"/><file name="Store.php" hash="e50327e182f14d67ce1aeed1efa84d61"/></dir></dir><file name="Info.php" hash="
|
47 |
<compatible/>
|
48 |
<dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
|
49 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>FilterProductsByZIP</name>
|
4 |
+
<version>0.4.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.ConversionBug.com/license-agreement.html">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
41 |
Community: 1.9.2</description>
|
42 |
<notes>changes and bug fixes</notes>
|
43 |
<authors><author><name>shivkumar singh</name><user>shivkumar</user><email>shivam.kumar@conversionbug.com</email></author></authors>
|
44 |
+
<date>2016-12-14</date>
|
45 |
+
<time>11:59:29</time>
|
46 |
+
<contents><target name="magelocal"><dir name="ConversionBug"><dir name="Core"><dir name="Block"><file name="Info.php" hash="615b0df84a02bd72de0a75c2a60181af"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Product.php" hash="d0b451bf63512ca2e4f4ef4e0dc200c5"/><file name="Store.php" hash="e50327e182f14d67ce1aeed1efa84d61"/></dir></dir><file name="Info.php" hash="146da7272a6ad2529c232586259e2980"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="fd937326042c8165a1df0faca629db7f"/></dir><dir name="Model"><file name="Feed.php" hash="9266834784c19c05f6cf06a3acc69acc"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="fd271787952e4f1b1ce98a0a68cb37cb"/><file name="Footer.php" hash="7c13df78247e0cc2fe1e11ddff2cdcdf"/><file name="Options.php" hash="a26a31999e38a540292ff24e5ed33428"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7164e6536faa45bccbf4a09bc6fba886"/><file name="config.xml" hash="d4fbb7c65120cb93cfb4335fdca8e405"/><file name="system.xml" hash="7e52ad89b50f1260b86bc00114a0d326"/></dir></dir><dir name="Productbyzipcode"><dir name="Block"><file name="Productbyzipcode.php" hash="98c4350e9a510d01be03945ce020a7b9"/></dir><dir name="Helper"><file name="Data.php" hash="aeb045c885d25c37c06ca595475c5ef3"/></dir><dir name="Model"><dir name="Resource"><file name="Setup.php" hash="95e2d6a67b52f97ce8067da36d67c7db"/></dir></dir><dir name="controllers"><file name="SearchController.php" hash="6a42d96b7d606843066b94185e90e0ab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5f3ccf414517c55de556d4d1214c619a"/><file name="config.xml" hash="a19efb42a8069f421d868a2a1afd125d"/><file name="system.xml" hash="5ab01aae1c495e805ee9a059be3feb2b"/></dir><dir name="sql"><dir name="cbproductbyzipcode_setup"><file name="mysql4-install-0.1.0.php" hash="315bae3c0c5ac484baab93cd6d61ea95"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Core.xml" hash="537de773791fc95a5a3e340de82162f7"/><file name="ConversionBug_Productbyzipcode.xml" hash="c56d972ca4b51bfa3c3a3d67c17763f4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="conversionbugcore.xml" hash="d19182dcda6f0db7fadb1bff12b83e5a"/></dir><dir name="template"><dir name="conversionbugcore"><file name="info.phtml" hash="9c5797c75db2e608fb652f02adb3a02c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cb_productbyzipcode.xml" hash="b71e3b7b6019397727677de32bf23f2d"/></dir><dir name="template"><dir name="conversionbug"><dir name="productbyzipcode"><file name="product.phtml" hash="20594a998352079d99d03df293870266"/><file name="search.phtml" hash="74a7be863730b15ee664a53f61367c99"/><file name="viewall.phtml" hash="b0dfc7c8017cc6267ed92c19978a21b5"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="conversionbug"><dir name="core"><file name="conversion.js" hash="7e7e3bd1dcb2af25c9332b51550b60de"/></dir><dir name="owl-carousel"><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="conversionbug"><dir name="core"><file name="core.css" hash="29c9cad2d9271f28bfd9eddd5c808d5d"/><dir name="images"><file name="cb_pattern.png" hash="9c5044bebc10bc6a34aa6a1e8e41b54a"/><file name="favicon.png" hash="bab36888d2974803acc518fc6e80c0a8"/><file name="logo.jpg" hash="04b873540f127f3db2702ec81537a92c"/><file name="logo.png" hash="ee6d3fdb6b84dc6305e1930c9d62c9a1"/><file name="mail.png" hash="dda776f14745ef6ed3ea7c273b89414a"/><file name="skype.png" hash="c47bc27f92a5037b5e5808a4c7946eef"/><file name="star.png" hash="7ba3058f225533076d823ad0de40cf61"/><file name="storebg.png" hash="afc4c40ea7a186c807daa8f4bd16dff3"/><file name="tick.png" hash="a93719f7f9a401c5aa10745e72f33b6a"/><file name="tick1.png" hash="a77e5cdd4aa5960fd325028b3cad225b"/><file name="web.png" hash="d6a873b4366d7337b6e3bc048ad3399f"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="conversionbug"><dir name="owl"><file name="AjaxLoader.gif" hash="5b8b06c052cac80413d62e5c45f9f37b"/><file name="bootstrapTheme.css" hash="6a99dc7813d9a40140192e71fe4e2cc7"/><file name="custom.css" hash="2966971052651b1a422b3bb594410b9c"/><file name="glyphicons-halflings-green.png" hash="9bbc6e9602998a385c2ea13df56470fd"/><file name="glyphicons-halflings-green.png_" hash="9cae7799ad4cae356531cb566f8fe287"/><file name="glyphicons-halflings.png" hash="2516339970d710819585f90773aebe0a"/><file name="grabbing.png" hash="d817e1dba5bd5d891d0504bf1715807b"/><file name="owl.carousel.css" hash="3113902e75b311845eb160a0c4b50f51"/><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/><file name="owl.css" hash="6c438d4a7126a61e86805ebc0aebdb55"/><file name="owl.theme.css" hash="0a3f28b2f8a363198f35a188bea9ca2b"/><file name="owl.transitions.css" hash="b1bdaeac4065bf67a7d7a06213192964"/><file name="responsive.css" hash="6b7eb0867b2952eb412131c8c7fb1b85"/></dir><dir name="productbyzipcode"><file name="custom.css" hash="8e561585e3bc56f9b0b70738efb6db87"/></dir></dir></dir></dir></dir></dir></target></contents>
|
47 |
<compatible/>
|
48 |
<dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
|
49 |
</package>
|