Version Notes
Adding admin interface
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Beecoder_Beeshopy |
| Version | 2.2.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.0 to 2.2.0
- app/code/community/Beecoder/Beeshopy/Block/.Track.php.swp +0 -0
- app/code/community/Beecoder/Beeshopy/Helper/Data.php +5 -0
- app/code/community/Beecoder/Beeshopy/Model/.Api.php.swp +0 -0
- app/code/community/Beecoder/Beeshopy/Model/Api.php +1 -1
- app/code/community/Beecoder/Beeshopy/controllers/AdminController.php +16 -0
- app/code/community/Beecoder/Beeshopy/etc/config.xml +37 -0
- package.xml +5 -5
app/code/community/Beecoder/Beeshopy/Block/.Track.php.swp
DELETED
|
Binary file
|
app/code/community/Beecoder/Beeshopy/Helper/Data.php
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Beecoder_Beeshopy_Helper_Data extends Mage_Core_Helper_Abstract
|
| 3 |
+
{
|
| 4 |
+
|
| 5 |
+
}
|
app/code/community/Beecoder/Beeshopy/Model/.Api.php.swp
ADDED
|
Binary file
|
app/code/community/Beecoder/Beeshopy/Model/Api.php
CHANGED
|
@@ -101,7 +101,7 @@ class Beecoder_Beeshopy_Model_Api extends Mage_Catalog_Model_Api_Resource
|
|
| 101 |
|
| 102 |
/* Used to know if module is installed*/
|
| 103 |
public function checkModule(){
|
| 104 |
-
return array("api_version" => '2.
|
| 105 |
|
| 106 |
}
|
| 107 |
/*Auxiliar functions*/
|
| 101 |
|
| 102 |
/* Used to know if module is installed*/
|
| 103 |
public function checkModule(){
|
| 104 |
+
return array("api_version" => '2.2.0', "magento_version" => Mage::getVersion());
|
| 105 |
|
| 106 |
}
|
| 107 |
/*Auxiliar functions*/
|
app/code/community/Beecoder/Beeshopy/controllers/AdminController.php
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Beecoder_Beeshopy_AdminController extends Mage_Adminhtml_Controller_Action
|
| 3 |
+
{
|
| 4 |
+
public function indexAction(){
|
| 5 |
+
$this->loadLayout();
|
| 6 |
+
$this->_setActiveMenu('menu1');
|
| 7 |
+
|
| 8 |
+
$block = $this->getLayout()
|
| 9 |
+
->createBlock('core/text', 'beetailer-admin')
|
| 10 |
+
->setText("<iframe src='https://www.beetailer.com?from=iframe' width=1024 height='2500' frameborder='0' scrolling='no' style='margin:0px auto;display:block;'></iframe>");
|
| 11 |
+
|
| 12 |
+
$this->_addContent($block);
|
| 13 |
+
$this->renderLayout();
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
?>
|
app/code/community/Beecoder/Beeshopy/etc/config.xml
CHANGED
|
@@ -19,6 +19,12 @@
|
|
| 19 |
<class>Beecoder_Beeshopy_Model</class>
|
| 20 |
</Beecoder_Beeshopy>
|
| 21 |
</models>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
</global>
|
| 23 |
|
| 24 |
<frontend>
|
|
@@ -30,6 +36,14 @@
|
|
| 30 |
<frontName>process-facebook-cart</frontName>
|
| 31 |
</args>
|
| 32 |
</process-facebook-cart>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
</routers>
|
| 34 |
|
| 35 |
<layout>
|
|
@@ -40,4 +54,27 @@
|
|
| 40 |
</updates>
|
| 41 |
</layout>
|
| 42 |
</frontend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
</config>
|
| 19 |
<class>Beecoder_Beeshopy_Model</class>
|
| 20 |
</Beecoder_Beeshopy>
|
| 21 |
</models>
|
| 22 |
+
|
| 23 |
+
<helpers>
|
| 24 |
+
<Beeshopy>
|
| 25 |
+
<class>Beecoder_Beeshopy_Helper</class>
|
| 26 |
+
</Beeshopy>
|
| 27 |
+
</helpers>
|
| 28 |
</global>
|
| 29 |
|
| 30 |
<frontend>
|
| 36 |
<frontName>process-facebook-cart</frontName>
|
| 37 |
</args>
|
| 38 |
</process-facebook-cart>
|
| 39 |
+
|
| 40 |
+
<admin-iframe>
|
| 41 |
+
<use>admin</use>
|
| 42 |
+
<args>
|
| 43 |
+
<module>Beecoder_Beeshopy</module>
|
| 44 |
+
<frontName>beetailer-installation</frontName>
|
| 45 |
+
</args>
|
| 46 |
+
</admin-iframe>
|
| 47 |
</routers>
|
| 48 |
|
| 49 |
<layout>
|
| 54 |
</updates>
|
| 55 |
</layout>
|
| 56 |
</frontend>
|
| 57 |
+
|
| 58 |
+
<adminhtml>
|
| 59 |
+
<menu>
|
| 60 |
+
<menu1 translate="title" module="Beeshopy">
|
| 61 |
+
<title>Facebook Store</title>
|
| 62 |
+
<action>Beecoder_Beeshopy/admin</action>
|
| 63 |
+
<sort_order>100</sort_order>
|
| 64 |
+
</menu1>
|
| 65 |
+
</menu>
|
| 66 |
+
|
| 67 |
+
<acl>
|
| 68 |
+
<resources>
|
| 69 |
+
<admin>
|
| 70 |
+
<children>
|
| 71 |
+
<menu1 translate="title" module="Beeshopy">
|
| 72 |
+
<title>Facebook Store</title>
|
| 73 |
+
<sort_order>100</sort_order>
|
| 74 |
+
</menu1>
|
| 75 |
+
</children>
|
| 76 |
+
</admin>
|
| 77 |
+
</resources>
|
| 78 |
+
</acl>
|
| 79 |
+
</adminhtml>
|
| 80 |
</config>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Beecoder_Beeshopy</name>
|
| 4 |
-
<version>2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -11,11 +11,11 @@ Beeshopy extension for Magento, it allows you to integrates your magento store w
|
|
| 11 |
<description>Custom Module that allows you to connect with beeshopy service and integrates your magento store with Facebook. 
|
| 12 |

|
| 13 |
It contains a custom API and cart processing.</description>
|
| 14 |
-
<notes>
|
| 15 |
<authors><author><name>Miguel Ángel Martínez Triviño</name><user>auto-converted</user><email>migmartri@gmail.com</email></author></authors>
|
| 16 |
-
<date>2011-04-
|
| 17 |
-
<time>
|
| 18 |
-
<contents><target name="magecommunity"><dir name="Beecoder"><dir name="Beeshopy"><dir name="Block"><file name="Track.php" hash="60f6db76def102712af42e3026b082c7"
|
| 19 |
<compatible/>
|
| 20 |
<dependencies/>
|
| 21 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Beecoder_Beeshopy</name>
|
| 4 |
+
<version>2.2.0</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 11 |
<description>Custom Module that allows you to connect with beeshopy service and integrates your magento store with Facebook. 
|
| 12 |

|
| 13 |
It contains a custom API and cart processing.</description>
|
| 14 |
+
<notes>Adding admin interface</notes>
|
| 15 |
<authors><author><name>Miguel Ángel Martínez Triviño</name><user>auto-converted</user><email>migmartri@gmail.com</email></author></authors>
|
| 16 |
+
<date>2011-04-29</date>
|
| 17 |
+
<time>00:42:53</time>
|
| 18 |
+
<contents><target name="magecommunity"><dir name="Beecoder"><dir name="Beeshopy"><dir name="Block"><file name="Track.php" hash="60f6db76def102712af42e3026b082c7"/></dir><dir name="Helper"><file name="Data.php" hash="64594c0c2a597f047b972fe6f3b022a9"/></dir><dir name="Model"><file name="Api.php" hash="b083596d3616177363c153d3cf17dad7"/><file name=".Api.php.swp" hash="4df667c02a10f2b8e8c81f41d55c471a"/></dir><dir name="controllers"><file name="AdminController.php" hash="0a75a36d74da0da8fd598d655296ad50"/><file name="IndexController.php" hash="76a2d269df704fd3e0d43701f60bf76a"/></dir><dir name="etc"><file name="api.xml" hash="507ae656ea724a77def33efd8429d674"/><file name="config.xml" hash="ba85f25c82445ce4a5c4c10b80741975"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Beecoder_Beeshopy.xml" hash="55666ef45f08dab44b138e49532ca3b8"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="beeshopy.xml" hash="d307958edf914638aa5cd57f8d449c46"/></dir><dir name="template"><dir name="beeshopy"><file name="track.phtml" hash="47c95001bb55042c5ae7d8ee4b03cccf"/></dir></dir></dir></dir></dir></target></contents>
|
| 19 |
<compatible/>
|
| 20 |
<dependencies/>
|
| 21 |
</package>
|
