Version Notes
Bug Fixes
Download this release
Release Info
Developer | shivkumar singh |
Extension | CookiesBasedRecentlyViewedProducts |
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-Cookie Based Recently View Products";
|
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-Cookie Based Recently View Products";
|
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>CookiesBasedRecentlyViewedProducts</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>
|
@@ -37,9 +37,9 @@ Compatible with:
|
|
37 |
Community:1.9.2</description>
|
38 |
<notes>Bug Fixes</notes>
|
39 |
<authors><author><name>shivkumar singh</name><user>shivkumar</user><email>shivam.kumar@conversionbug.com</email></author></authors>
|
40 |
-
<date>2016-12-
|
41 |
-
<time>
|
42 |
-
<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="
|
43 |
<compatible/>
|
44 |
<dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
|
45 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>CookiesBasedRecentlyViewedProducts</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>
|
37 |
Community:1.9.2</description>
|
38 |
<notes>Bug Fixes</notes>
|
39 |
<authors><author><name>shivkumar singh</name><user>shivkumar</user><email>shivam.kumar@conversionbug.com</email></author></authors>
|
40 |
+
<date>2016-12-14</date>
|
41 |
+
<time>11:41:53</time>
|
42 |
+
<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="d285036a7d6847bff31d389f617adf3c"/></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="Cookiebaseproduct"><dir name="Block"><file name="Item.php" hash="4a7189d326f17d4abc1349444d05f436"/><file name="Manage.php" hash="a28bb728de8b94670b56077197de6ac0"/><file name="Products.php" hash="f9cc4a778445726b0b1f42c1996dbdfa"/></dir><dir name="Helper"><file name="Data.php" hash="6ba95ab09e2c7f48f9e01f322bb80ec6"/></dir><dir name="controllers"><file name="IndexController.php" hash="a911a721aac53ac96654ce09ceefbf59"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5532891745437ccb3bf2aa246add73b7"/><file name="config.xml" hash="36dfe55368ddc710a653685a5b6db865"/><file name="system.xml" hash="cb98d53d734195554a3e4ddf67c78ad1"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Cookiebaseproduct.xml" hash="d66e767c3fbad6778cad84db48cb25da"/><file name="ConversionBug_Core.xml" hash="537de773791fc95a5a3e340de82162f7"/></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_cookiebaseproduct.xml" hash="99a82dd7598827057531eabc7c995627"/></dir><dir name="template"><dir name="conversionbug"><file name="manage.phtml" hash="8ae47073ffc55651de189cd590358f42"/><file name="product.phtml" hash="30ae084fec5df96509b3d7e32987d85e"/><file name="sidebar.phtml" hash="2dcc91830e2ea6553bcab6f1853f692a"/><file name="sidebar_right.phtml" hash="bd609f8a14e834ac3168366d9da3f000"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="conversionbug"><dir name="core"><file name="conversion.js" hash="5d153e7f93b2d5486d488918bc05dfeb"/></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="onesignal.png" hash="cd0a13c160d15090f2a7cc24e82adb94"/><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="cookiebaseproduct"><file name="style.css" hash="a07f96e4fbe270d8f0ed9893d6e20bdf"/></dir><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></dir></dir></dir></dir></target></contents>
|
43 |
<compatible/>
|
44 |
<dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
|
45 |
</package>
|