Version Notes
Bug fix
Download this release
Release Info
Developer | shivkumar singh |
Extension | StickyProduct |
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-Sticky Product";
|
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-Sticky Product";
|
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>StickyProduct</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>Bug fix</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>StickyProduct</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>Bug fix</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:51:59</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="67e5282485c7ce038ced6f4511ff3ef7"/></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="409b1190a780dc7b7a2de1d8b088f1cb"/><file name="system.xml" hash="7e52ad89b50f1260b86bc00114a0d326"/></dir></dir><dir name="Stickyproductsidebar"><dir name="Helper"><file name="Data.php" hash="7e1bd9f4662cb7431e7b8c4ae4359140"/></dir><dir name="etc"><file name="adminhtml.xml" hash="75f6233af6f4397e3e67b9059ed3907f"/><file name="config.xml" hash="f2c89d60e2177a8b3ae29b4d33e9a58c"/><file name="system.xml" hash="1452bbc0ca52458445ba3f934a950174"/></dir></dir></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><dir name="conversionbugcore"><file name="info.phtml" hash="9c5797c75db2e608fb652f02adb3a02c"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cb_stickyproductsidebar.xml" hash="9c7b70ef9707b2f51ca96c822de83821"/></dir><dir name="template"><dir name="conversionbug"><dir name="stickyproductsidebar"><file name="js.phtml" hash="5fcf620e44bf6e7dfbefb1afab5f8cc0"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Core.xml" hash="537de773791fc95a5a3e340de82162f7"/><file name="ConversionBug_Stickyproductsidebar.xml" hash="c6997885f8b6a8bfe2f6854a5b4c2669"/></dir></target><target name="mage"><dir name="js"><dir name="conversionbug"><dir name="core"><file name="conversion.js" hash="7e7e3bd1dcb2af25c9332b51550b60de"/></dir><dir name="stickyproductsidebar"><file name="stickEmUp.js" hash="cf9132fe3b5d04eb9505cd801970fa41"/></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="stickyproductsidebar"><file name="main.css" hash="c1cc21869e89fe9dfb601d37b52158cd"/></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>
|