Version Notes
Release Zotabox magento extension
Download this release
Release Info
Developer | zotabox |
Extension | Zota_Zotabox |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
app/code/community/Zota/Zotabox/Helper/Data.php
CHANGED
@@ -3,7 +3,7 @@ class Zota_Zotabox_Helper_Data extends Mage_Core_Helper_Abstract
|
|
3 |
{
|
4 |
const ZOTABOX_DOMAIN_URL = 'zotabox.com';
|
5 |
|
6 |
-
public function getDomainUrl($subDomain = '
|
7 |
return "{$protocol}://{$subDomain}." . self::ZOTABOX_DOMAIN_URL;
|
8 |
}
|
9 |
|
3 |
{
|
4 |
const ZOTABOX_DOMAIN_URL = 'zotabox.com';
|
5 |
|
6 |
+
public function getDomainUrl($subDomain = '', $protocol = 'https') {
|
7 |
return "{$protocol}://{$subDomain}." . self::ZOTABOX_DOMAIN_URL;
|
8 |
}
|
9 |
|
app/code/community/Zota/Zotabox/controllers/Adminhtml/ZotaboxController.php
CHANGED
@@ -31,16 +31,16 @@ class Zota_Zotabox_Adminhtml_ZotaboxController extends Mage_Core_Controller_Vari
|
|
31 |
public function disconnectAction() {
|
32 |
$this->removeAccessKeyAction();
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
|
45 |
Mage::getSingleton('core/cookie')
|
46 |
->set('zotabox_flash_message', __('Disconnected from Zotabox successfully.'))
|
31 |
public function disconnectAction() {
|
32 |
$this->removeAccessKeyAction();
|
33 |
|
34 |
+
// $ch = curl_init();
|
35 |
+
// curl_setopt($ch, CURLOPT_URL, Mage::helper('zotabox')->getDomainUrl()."/customer/access/disconnect");
|
36 |
+
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
37 |
+
// curl_setopt($ch, CURLOPT_TIMEOUT, 10);
|
38 |
+
// curl_setopt($ch, CURLOPT_POST, true);
|
39 |
+
// curl_setopt($ch, CURLOPT_POSTFIELDS, array(
|
40 |
+
// 'customer' => Mage::getStoreConfig('zotabox/basic/customer')
|
41 |
+
// ));
|
42 |
+
// $response = curl_exec($ch);
|
43 |
+
// curl_close($ch);
|
44 |
|
45 |
Mage::getSingleton('core/cookie')
|
46 |
->set('zotabox_flash_message', __('Disconnected from Zotabox successfully.'))
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Zota_Zotabox</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
@@ -13,8 +13,8 @@ with These FREE Customizable Tools for Your Website</description>
|
|
13 |
<notes>Release Zotabox magento extension</notes>
|
14 |
<authors><author><name>zotabox</name><user>zotabox</user><email>support@zotabox.com</email></author></authors>
|
15 |
<date>2015-12-24</date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="mageskin"><dir name="zotabox"><file name="bg_body.png" hash="9c80e8c1efae9f432416ebc9a3731b50"/><file name="check.png" hash="8923586db9a3ee5d3239e3ede52d3d33"/><file name="icon.png" hash="091df18a2b6722b22ad88ec3ea19999d"/><file name="logo-zotabox.png" hash="7b1aa437adce08c6debe088b2859141b"/></dir></target><target name="magecommunity"><dir name="Zota"><dir name="Zotabox"><dir name="Block"><dir name="Adminhtml"><dir name="Source"><dir name="System"><dir name="Config"><file name="Connectbutton.php" hash="df55e8ad97bbfe845b824ae1e4e77629"/><file name="Disconnectbutton.php" hash="a9dea7b8c5e350dbc47949a60fbeec94"/><file name="SaveEmbedCodeButton.php" hash="38e598c6c81553af83c68c5564ac0ac5"/><file name="ShowEmbedCodeButton.php" hash="a89b7d3e7dbbe070571c0ede3ab709a6"/></dir></dir></dir><dir name="Widget"><file name="Asset.php" hash="78ce9a5edcded3e553c846d79ce74108"/><file name="Button.php" hash="3c7f4b47b827cef0f783f24177672574"/></dir></dir><file name="Script.php" hash="65c38311cd379ed186836478322d2fae"/></dir><dir name="Helper"><file name="Data.php" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>4.0.0</min><max>7.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Zota_Zotabox</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
13 |
<notes>Release Zotabox magento extension</notes>
|
14 |
<authors><author><name>zotabox</name><user>zotabox</user><email>support@zotabox.com</email></author></authors>
|
15 |
<date>2015-12-24</date>
|
16 |
+
<time>10:24:21</time>
|
17 |
+
<contents><target name="mageskin"><dir name="zotabox"><file name="bg_body.png" hash="9c80e8c1efae9f432416ebc9a3731b50"/><file name="check.png" hash="8923586db9a3ee5d3239e3ede52d3d33"/><file name="icon.png" hash="091df18a2b6722b22ad88ec3ea19999d"/><file name="logo-zotabox.png" hash="7b1aa437adce08c6debe088b2859141b"/></dir></target><target name="magecommunity"><dir name="Zota"><dir name="Zotabox"><dir name="Block"><dir name="Adminhtml"><dir name="Source"><dir name="System"><dir name="Config"><file name="Connectbutton.php" hash="df55e8ad97bbfe845b824ae1e4e77629"/><file name="Disconnectbutton.php" hash="a9dea7b8c5e350dbc47949a60fbeec94"/><file name="SaveEmbedCodeButton.php" hash="38e598c6c81553af83c68c5564ac0ac5"/><file name="ShowEmbedCodeButton.php" hash="a89b7d3e7dbbe070571c0ede3ab709a6"/></dir></dir></dir><dir name="Widget"><file name="Asset.php" hash="78ce9a5edcded3e553c846d79ce74108"/><file name="Button.php" hash="3c7f4b47b827cef0f783f24177672574"/></dir></dir><file name="Script.php" hash="65c38311cd379ed186836478322d2fae"/></dir><dir name="Helper"><file name="Data.php" hash="77258ccfa09fdccd59e41a1f1c2ddf0c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ZotaboxController.php" hash="bc2f4f0165761a968248bf84c658b62f"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="fae757ddf69c715a3f46d72bf583b6d2"/><file name="config.xml" hash="1de51c8659324c564ca4834e46f8de28"/><file name="system.xml" hash="235e6ee3df67a6ce07f1894e4067cd23"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="zotabox"><file name="asset.phtml" hash="8777bbe5c003d7c50967e3008a5f0279"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="zotabox"><file name="script.phtml" hash="90e5b756ddf5433a317c21aacc2bc855"/></dir></dir><dir name="layout"><file name="zotabox.xml" hash="512208f8d451ecb29215196dfa9f14ab"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Zota_Zotabox.xml" hash="830f655a238f4c63c9f05d7dad099324"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>4.0.0</min><max>7.0.0</max></php></required></dependencies>
|
20 |
</package>
|