Version Notes
Bug fix release to coincide with updates to loader.js
Download this release
Release Info
Developer | StudioForty9 |
Extension | Pubble_io |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
app/code/community/Pubble/Messenger/Model/Observer.php
CHANGED
@@ -48,11 +48,13 @@ class Pubble_Messenger_Model_Observer
|
|
48 |
/** @var Mage_Core_Model_Layout $layout */
|
49 |
/** @var Pubble_Messenger_Block_Script $pubble */
|
50 |
$layout = Mage::app()->getLayout();
|
51 |
-
$
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
56 |
} catch (Exception $e) {
|
57 |
Mage::logException($e);
|
58 |
return false;
|
48 |
/** @var Mage_Core_Model_Layout $layout */
|
49 |
/** @var Pubble_Messenger_Block_Script $pubble */
|
50 |
$layout = Mage::app()->getLayout();
|
51 |
+
if ($layout && !Mage::app()->getRequest()->isPost()) {
|
52 |
+
$pubble = $layout->createBlock(self::BLOCK_NAME, self::BLOCK_ALIAS);
|
53 |
+
$pubble->setTemplate(self::BLOCK_TEMPLATE);
|
54 |
+
$layout->getBlock(self::BLOCK_TARGET)->append($pubble);
|
55 |
+
|
56 |
+
return $pubble;
|
57 |
+
}
|
58 |
} catch (Exception $e) {
|
59 |
Mage::logException($e);
|
60 |
return false;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Pubble_io</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSDL</license>
|
7 |
<channel>community</channel>
|
@@ -9,14 +9,11 @@
|
|
9 |
<summary>Easily install your Pubble messenger code on Magento via the admin configuration panel.</summary>
|
10 |
<description><p>Supports enabling/disabling the extension.</p>
|
11 |
<p>Supports adding the messenger widget to your site by adding in the App ID and Identifier fields.</p></description>
|
12 |
-
<notes>
|
13 |
-

|
14 |
-
- Supports enabling/disabling the extension.
|
15 |
-
- Supports adding the messenger widget to your site via either Copy & Pasting the code directly from Pubble or just adding in the App ID and Identifier fields.</notes>
|
16 |
<authors><author><name>StudioForty9</name><user>SF9</user><email>info@studioforty9.com</email></author><author><name>Eoghan O'Brien</name><user>eoghanobrien</user><email>eoghan@eoghanobrien.com</email></author><author><name>Pubble</name><user>soleary</user><email>shane@pubble.co</email></author></authors>
|
17 |
-
<date>2016-05-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="Pubble"><dir name="Messenger"><dir name="Block"><file name="Script.php" hash="a9e10c0429e4dd8727deb2896f5bd156"/></dir><dir name="Helper"><file name="Data.php" hash="f9f8e5fd410049d31d5b29313213e768"/></dir><dir name="Model"><file name="Observer.php" hash="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.00.00</min><max>7.99.99</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Pubble_io</name>
|
4 |
+
<version>1.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSDL</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>Easily install your Pubble messenger code on Magento via the admin configuration panel.</summary>
|
10 |
<description><p>Supports enabling/disabling the extension.</p>
|
11 |
<p>Supports adding the messenger widget to your site by adding in the App ID and Identifier fields.</p></description>
|
12 |
+
<notes>Bug fix release to coincide with updates to loader.js</notes>
|
|
|
|
|
|
|
13 |
<authors><author><name>StudioForty9</name><user>SF9</user><email>info@studioforty9.com</email></author><author><name>Eoghan O'Brien</name><user>eoghanobrien</user><email>eoghan@eoghanobrien.com</email></author><author><name>Pubble</name><user>soleary</user><email>shane@pubble.co</email></author></authors>
|
14 |
+
<date>2016-05-26</date>
|
15 |
+
<time>22:41:46</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="Pubble"><dir name="Messenger"><dir name="Block"><file name="Script.php" hash="a9e10c0429e4dd8727deb2896f5bd156"/></dir><dir name="Helper"><file name="Data.php" hash="f9f8e5fd410049d31d5b29313213e768"/></dir><dir name="Model"><file name="Observer.php" hash="be4de0a8f94e0567c7f905a659445138"/></dir><dir name="data"><dir name="pubble_messenger_setup"><file name="data-install-1.0.0.php" hash="fc5613da1937dd4047c05e6aced07583"/><file name="data-upgrade-1.0.0-1.1.0.php" hash="1f9b0d9f43fa30f6a03567cc775aaf85"/></dir></dir><dir name="etc"><file name="config.xml" hash="cced71628d9ccb4ebc85d7dda743a662"/><file name="system.xml" hash="148a3011f62260f83be52fe1a3818b3c"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="pubble"><file name="messenger" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pubble_Messenger.xml" hash="b4ad026649e3c24dc6059d70241e07e0"/></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.00.00</min><max>7.99.99</max></php></required></dependencies>
|
19 |
</package>
|