Version Notes
The renaming of SwiftCRM to SwiftERM
Download this release
Release Info
Developer | Simon Cooper |
Extension | Swift_Swiftplugin |
Version | 1.1.13 |
Comparing to | |
See all releases |
Code changes from version 1.1.12 to 1.1.13
- app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit.php +2 -2
- app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit/Tab/Form.php +1 -1
- app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit/Tab/Instruct.php +2 -2
- app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit/Tabs.php +4 -4
- app/code/community/Swift/Swiftplugin/etc/config.xml +2 -2
- app/code/community/Swift/Swiftplugin/sql/swift_setup/install-1.1.13.php +14 -0
- package.xml +7 -7
app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit.php
CHANGED
@@ -12,14 +12,14 @@ class Swift_Swiftplugin_Block_Adminhtml_Swift_Edit extends Mage_Adminhtml_Block_
|
|
12 |
//and the same controller
|
13 |
$this->_controller = 'adminhtml_swift';
|
14 |
//define the label for the save and delete button
|
15 |
-
$this->_updateButton('save', 'label','Save
|
16 |
$this->_removeButton('delete');
|
17 |
$this->_removeButton('back');
|
18 |
$this->_removeButton('reset');
|
19 |
}
|
20 |
|
21 |
public function getHeaderText() {
|
22 |
-
return '
|
23 |
}
|
24 |
}
|
25 |
|
12 |
//and the same controller
|
13 |
$this->_controller = 'adminhtml_swift';
|
14 |
//define the label for the save and delete button
|
15 |
+
$this->_updateButton('save', 'label','Save SwiftERM Private Key');
|
16 |
$this->_removeButton('delete');
|
17 |
$this->_removeButton('back');
|
18 |
$this->_removeButton('reset');
|
19 |
}
|
20 |
|
21 |
public function getHeaderText() {
|
22 |
+
return 'SwiftERM Plugin Administration';
|
23 |
}
|
24 |
}
|
25 |
|
app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit/Tab/Form.php
CHANGED
@@ -7,7 +7,7 @@ class Swift_Swiftplugin_Block_Adminhtml_Swift_Edit_Tab_Form extends Mage_Adminht
|
|
7 |
protected function _prepareForm() {
|
8 |
$form = new Varien_Data_Form();
|
9 |
$this->setForm($form);
|
10 |
-
$fieldset = $form->addFieldset('swift_register_key_form', array('legend'=>'Insert
|
11 |
$fieldset->addField('swift_private_key', 'text',
|
12 |
array(
|
13 |
'label' => 'Private Key',
|
7 |
protected function _prepareForm() {
|
8 |
$form = new Varien_Data_Form();
|
9 |
$this->setForm($form);
|
10 |
+
$fieldset = $form->addFieldset('swift_register_key_form', array('legend'=>'Insert SwiftERM Private Key'));
|
11 |
$fieldset->addField('swift_private_key', 'text',
|
12 |
array(
|
13 |
'label' => 'Private Key',
|
app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit/Tab/Instruct.php
CHANGED
@@ -7,9 +7,9 @@ class Swift_Swiftplugin_Block_Adminhtml_Swift_Edit_Tab_Instruct extends Mage_Adm
|
|
7 |
protected function _prepareForm() {
|
8 |
$form = new Varien_Data_Form();
|
9 |
$this->setForm($form);
|
10 |
-
$fieldset = $form->addFieldset('swift_instruct_form', array('legend'=>'Register at http://
|
11 |
$fieldset->addField('note', 'note', array(
|
12 |
-
'text' => Mage::helper('core')->__('To start, please register at <a href="http://
|
13 |
));
|
14 |
|
15 |
return parent::_prepareForm();
|
7 |
protected function _prepareForm() {
|
8 |
$form = new Varien_Data_Form();
|
9 |
$this->setForm($form);
|
10 |
+
$fieldset = $form->addFieldset('swift_instruct_form', array('legend'=>'Register at http://swifterm.com'));
|
11 |
$fieldset->addField('note', 'note', array(
|
12 |
+
'text' => Mage::helper('core')->__('To start, please register at <a href="http://swifterm.com">http://swifterm.com</a> to recieve your SwiftERM key, then proceed to step 2.'),
|
13 |
));
|
14 |
|
15 |
return parent::_prepareForm();
|
app/code/community/Swift/Swiftplugin/Block/Adminhtml/Swift/Edit/Tabs.php
CHANGED
@@ -15,14 +15,14 @@ class Swift_Swiftplugin_Block_Adminhtml_Swift_Edit_Tabs extends Mage_Adminhtml_B
|
|
15 |
protected function _beforeToHtml() {
|
16 |
|
17 |
$this->addTab('form_step_one_section', array(
|
18 |
-
'label' => 'Step 1: Register At
|
19 |
-
'title' => 'Step 1: Register At
|
20 |
'content' => $this->getLayout()->createBlock('swift/adminhtml_swift_edit_tab_instruct')->toHtml()
|
21 |
));
|
22 |
|
23 |
$this->addTab('form_step_two_section', array(
|
24 |
-
'label' => 'Step 2: Register Your
|
25 |
-
'title' => 'Step 2: Register Your
|
26 |
'content' => $this->getLayout()->createBlock('swift/adminhtml_swift_edit_tab_form')->toHtml()
|
27 |
));
|
28 |
|
15 |
protected function _beforeToHtml() {
|
16 |
|
17 |
$this->addTab('form_step_one_section', array(
|
18 |
+
'label' => 'Step 1: Register At SwiftERM',
|
19 |
+
'title' => 'Step 1: Register At SwiftERM',
|
20 |
'content' => $this->getLayout()->createBlock('swift/adminhtml_swift_edit_tab_instruct')->toHtml()
|
21 |
));
|
22 |
|
23 |
$this->addTab('form_step_two_section', array(
|
24 |
+
'label' => 'Step 2: Register Your SwiftERM Private Key',
|
25 |
+
'title' => 'Step 2: Register Your SwiftERM Private Key',
|
26 |
'content' => $this->getLayout()->createBlock('swift/adminhtml_swift_edit_tab_form')->toHtml()
|
27 |
));
|
28 |
|
app/code/community/Swift/Swiftplugin/etc/config.xml
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<modules>
|
6 |
<!-- This must exactly match the namespace and module's folder names, with directory separators replaced by underscores -->
|
7 |
<Swift_Swiftplugin>
|
8 |
-
<version>1.1.
|
9 |
</Swift_Swiftplugin>
|
10 |
</modules>
|
11 |
<!-- Configure our module's behavior in the frontend scope -->
|
@@ -50,7 +50,7 @@
|
|
50 |
</layout>
|
51 |
<menu>
|
52 |
<swift translate="title" module="adminhtml">
|
53 |
-
<title>
|
54 |
<sort_order>100</sort_order>
|
55 |
<children>
|
56 |
<set_time>
|
5 |
<modules>
|
6 |
<!-- This must exactly match the namespace and module's folder names, with directory separators replaced by underscores -->
|
7 |
<Swift_Swiftplugin>
|
8 |
+
<version>1.1.13</version>
|
9 |
</Swift_Swiftplugin>
|
10 |
</modules>
|
11 |
<!-- Configure our module's behavior in the frontend scope -->
|
50 |
</layout>
|
51 |
<menu>
|
52 |
<swift translate="title" module="adminhtml">
|
53 |
+
<title>SwiftERM</title>
|
54 |
<sort_order>100</sort_order>
|
55 |
<children>
|
56 |
<set_time>
|
app/code/community/Swift/Swiftplugin/sql/swift_setup/install-1.1.13.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$installer = $this;
|
4 |
+
$installer->startSetup();
|
5 |
+
$installer->run("
|
6 |
+
CREATE TABLE {$this->getTable('swift_swiftplugin')} (
|
7 |
+
swift_id int(11) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
8 |
+
swift_private_key char(64) NOT NULL,
|
9 |
+
swift_send_history TINYINT(1) NOT NULL
|
10 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
11 |
+
");
|
12 |
+
$installer->endSetup();
|
13 |
+
|
14 |
+
?>
|
package.xml
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Swift_Swiftplugin</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/LGPL-3.0">LGPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Uses the
|
10 |
-
<description><h1>
|
11 |

|
12 |
<p>
|
13 |
The extension captures customers shopping habits and their past orders so that it can use the swiftcrm.net service to send personalised emails to your customers. These emails promote the products on your store, giving priority to those products that are most relevant to the customer.
|
@@ -18,11 +18,11 @@ The extension uses background JavaScript calls to collect and store the customer
|
|
18 |
<p>
|
19 |
The extension is easy to set up and uses Magento’s built in features to collect information and send emails to the customers. Visit swiftcrm.net for prices and free trails.
|
20 |
</p></description>
|
21 |
-
<notes>
|
22 |
<authors><author><name>Simon Cooper</name><user>Netready</user><email>simon@netready.biz</email></author></authors>
|
23 |
-
<date>2015-
|
24 |
-
<time>
|
25 |
-
<contents><target name="magelib"><dir name="libXML"><file name="xml.php" hash="fc4d7c79c7b7ea2ac75f28c008cde8eb"/></dir><dir name="SwiftAPI"><file name="SwiftAPI.php" hash="cfa15cb8d83a966b0d0c01d6177ff4e0"/><file name="SwiftAPI_Exception.php" hash="879b899a7961f4de1212b7296ccafb16"/><file name="SwiftAPI_Product.php" hash="063922cccb485d81c6022de5c4e8e044"/><file name="SwiftAPI_Request.php" hash="4a25a91dbd9a54e394200d7c5d724444"/><file name="SwiftAPI_Request_Cart.php" hash="f8955c78200ddb0512adb5214fd64bb2"/><file name="SwiftAPI_Request_Home.php" hash="9268da121dd10db50d5c2675afd1c65e"/><file name="SwiftAPI_Request_Order.php" hash="cd8ce90614468bd4347df3c541482a4b"/><file name="SwiftAPI_Request_PastOrder.php" hash="be620e2e35d6634e6a616431f5312527"/><file name="SwiftAPI_Request_Ping.php" hash="e5e13b71682f8230711d5d2f28f9a534"/><file name="SwiftAPI_Request_Product.php" hash="e5fab27bb2dd45946ed8c143a18fe3c4"/><file name="SwiftAPI_Request_SendMail.php" hash="ba04382a3df6b3e179aed5fe3e809de7"/><file name="SwiftAPI_Request_Subscription.php" hash="5545738b941d8ca4dca69b6059a0cce4"/><file name="SwiftAPI_Request_Unsubscribe.php" hash="78aa37cc0ecb98d501674350a4a409c9"/><file name="SwiftAPI_Request_ViewMail.php" hash="773f0cc695838654b9056269622c217e"/><dir name="doc"><file name="SwiftAPI-Specification.html" hash="093cb08b66a596ebaeb0b50b4a0f8d79"/></dir><file name="index.php" hash="82886bb98883bd5868ea04c7d8c88ba5"/><file name="php.ini" hash="ef29c923925a1d1bbc8879c22297daa4"/></dir></target><target name="magecommunity"><dir name="Swift"><dir name="Swiftplugin"><dir name="Block"><dir name="Adminhtml"><dir name="Swift"><dir name="Edit"><file name="Form.php" hash="bd80ab8170f7f2286f13ac579e5249d9"/><dir name="Tab"><file name="Form.php" hash="
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php><extension><name>mcrypt</name><min/><max/></extension></required></dependencies>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Swift_Swiftplugin</name>
|
4 |
+
<version>1.1.13</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/LGPL-3.0">LGPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Uses the SwiftERM marketing service to send customers emails based on their shopping history and purchases.</summary>
|
10 |
+
<description><h1>SwiftERM enables your site to personalise product selection in emails, so every email is unique to each end consumer</h1>
|
11 |

|
12 |
<p>
|
13 |
The extension captures customers shopping habits and their past orders so that it can use the swiftcrm.net service to send personalised emails to your customers. These emails promote the products on your store, giving priority to those products that are most relevant to the customer.
|
18 |
<p>
|
19 |
The extension is easy to set up and uses Magento’s built in features to collect information and send emails to the customers. Visit swiftcrm.net for prices and free trails.
|
20 |
</p></description>
|
21 |
+
<notes>The renaming of SwiftCRM to SwiftERM</notes>
|
22 |
<authors><author><name>Simon Cooper</name><user>Netready</user><email>simon@netready.biz</email></author></authors>
|
23 |
+
<date>2015-05-07</date>
|
24 |
+
<time>14:29:43</time>
|
25 |
+
<contents><target name="magelib"><dir name="libXML"><file name="xml.php" hash="fc4d7c79c7b7ea2ac75f28c008cde8eb"/></dir><dir name="SwiftAPI"><file name="SwiftAPI.php" hash="cfa15cb8d83a966b0d0c01d6177ff4e0"/><file name="SwiftAPI_Exception.php" hash="879b899a7961f4de1212b7296ccafb16"/><file name="SwiftAPI_Product.php" hash="063922cccb485d81c6022de5c4e8e044"/><file name="SwiftAPI_Request.php" hash="4a25a91dbd9a54e394200d7c5d724444"/><file name="SwiftAPI_Request_Cart.php" hash="f8955c78200ddb0512adb5214fd64bb2"/><file name="SwiftAPI_Request_Home.php" hash="9268da121dd10db50d5c2675afd1c65e"/><file name="SwiftAPI_Request_Order.php" hash="cd8ce90614468bd4347df3c541482a4b"/><file name="SwiftAPI_Request_PastOrder.php" hash="be620e2e35d6634e6a616431f5312527"/><file name="SwiftAPI_Request_Ping.php" hash="e5e13b71682f8230711d5d2f28f9a534"/><file name="SwiftAPI_Request_Product.php" hash="e5fab27bb2dd45946ed8c143a18fe3c4"/><file name="SwiftAPI_Request_SendMail.php" hash="ba04382a3df6b3e179aed5fe3e809de7"/><file name="SwiftAPI_Request_Subscription.php" hash="5545738b941d8ca4dca69b6059a0cce4"/><file name="SwiftAPI_Request_Unsubscribe.php" hash="78aa37cc0ecb98d501674350a4a409c9"/><file name="SwiftAPI_Request_ViewMail.php" hash="773f0cc695838654b9056269622c217e"/><dir name="doc"><file name="SwiftAPI-Specification.html" hash="093cb08b66a596ebaeb0b50b4a0f8d79"/></dir><file name="index.php" hash="82886bb98883bd5868ea04c7d8c88ba5"/><file name="php.ini" hash="ef29c923925a1d1bbc8879c22297daa4"/></dir></target><target name="magecommunity"><dir name="Swift"><dir name="Swiftplugin"><dir name="Block"><dir name="Adminhtml"><dir name="Swift"><dir name="Edit"><file name="Form.php" hash="bd80ab8170f7f2286f13ac579e5249d9"/><dir name="Tab"><file name="Form.php" hash="3d15c45cb2205acabc20376f41a9bd5b"/><file name="Instruct.php" hash="9f34075cc9cdfa92b7876c33fda514de"/></dir><file name="Tabs.php" hash="993769f682fad7d28df79ff3acea97cc"/></dir><file name="Edit.php" hash="d93f75dbaaa7266d91e828b3208fbf2d"/></dir></dir><file name="Swiftblock.php" hash="ef4796eaf44aa8e4a9b144e5a9365166"/></dir><dir name="Helper"><file name="Data.php" hash="cad7e7ffcde09cdd3c089b42644e9d66"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Swift"><file name="Collection.php" hash="82de0fe56cd875d3e78c8fc690424ee1"/></dir><file name="Swift.php" hash="252d5f2ecb1119804b415758d2db6800"/></dir><file name="Observer.php" hash="139db0541de06e7bed17ad9d40fcd89b"/><file name="Swift.php" hash="1f9e49d4db7f8987cfd8858061fedc6a"/><file name="XmlProduct.php" hash="e2887684881a6a93a618c9e7f812b1d7"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="0d17d7a4d18d3a77fd1af945d016da74"/></dir><file name="MailController.php" hash="511d30670177eb7286b71afc1ea5bdef"/><file name="XmlController.php" hash="97b777935db5174501034493dd561099"/></dir><dir name="etc"><file name="config.xml" hash="034778576d87ec3bbc59be43ea2185f9"/></dir><dir name="sql"><dir name="swift_setup"><file name="install-1.1.13.php" hash="2447b5645fc36738373678473cec88dc"/><file name="install-1.1.2.php" hash="00832a00c34cb4c997a96330cb28cbfb"/><file name="upgrade-1.1.2-1.1.12.php" hash="cbe3c3fa07facb7b720d7dd518acbeca"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="swift.xml" hash="d80a5229e30cf4b76f5a5150ac1c27c3"/></dir><dir name="template"><dir name="swift"><file name="swiftplugin.phtml" hash="d4d25148e09529e457b6436d7655627b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swift_all.xml" hash="0ae5a788c805a9fc79b402fe7a02e54d"/></dir></target></contents>
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php><extension><name>mcrypt</name><min/><max/></extension></required></dependencies>
|
28 |
</package>
|