Optit - Version 1.0.1

Version Notes

Install extension and configure at Promotions > Opt It.

Download this release

Release Info

Developer Technivant
Extension Optit
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/local/Inchoo/Optit/Block/Adminhtml/Keyword/Grid/Renderer/Action.php CHANGED
@@ -32,7 +32,7 @@ class Inchoo_Optit_Block_Adminhtml_Keyword_Grid_Renderer_Action extends Inchoo_O
32
  'url' => $this->getUrl('*/optit_message/sms', array(
33
  'id' => $row->getId(),
34
  'type' => Inchoo_Optit_Model_Subscription::SUBSCRIPTION_TYPE_KEYWORD,
35
- 'keyword_name' => $row->getKeywordName(),
36
  )),
37
  'caption' => $this->__('Send SMS'),
38
  'confirm' => $this->__('Are you sure you want to send SMS to these subscribers?'),
@@ -42,7 +42,7 @@ class Inchoo_Optit_Block_Adminhtml_Keyword_Grid_Renderer_Action extends Inchoo_O
42
  'url' => $this->getUrl('*/optit_message/mms', array(
43
  'id' => $row->getId(),
44
  'type' => Inchoo_Optit_Model_Subscription::SUBSCRIPTION_TYPE_KEYWORD,
45
- 'keyword_name' => $row->getKeywordName(),
46
  )),
47
  'caption' => $this->__('Send MMS'),
48
  'confirm' => $this->__('Are you sure you want to send MMS to these subscribers?'),
32
  'url' => $this->getUrl('*/optit_message/sms', array(
33
  'id' => $row->getId(),
34
  'type' => Inchoo_Optit_Model_Subscription::SUBSCRIPTION_TYPE_KEYWORD,
35
+ 'type_name' => $row->getKeywordName(),
36
  )),
37
  'caption' => $this->__('Send SMS'),
38
  'confirm' => $this->__('Are you sure you want to send SMS to these subscribers?'),
42
  'url' => $this->getUrl('*/optit_message/mms', array(
43
  'id' => $row->getId(),
44
  'type' => Inchoo_Optit_Model_Subscription::SUBSCRIPTION_TYPE_KEYWORD,
45
+ 'type_name' => $row->getKeywordName(),
46
  )),
47
  'caption' => $this->__('Send MMS'),
48
  'confirm' => $this->__('Are you sure you want to send MMS to these subscribers?'),
app/code/local/Inchoo/Optit/Block/Adminhtml/Message/Mms/Edit.php CHANGED
@@ -26,11 +26,12 @@ class Inchoo_Optit_Block_Adminhtml_Message_Mms_Edit extends Mage_Adminhtml_Block
26
  $this->_formScripts[] = "function addToBulk()" .
27
  "{editForm.submit($('edit_form').action + 'bulk/true/')}";
28
  }
29
- }
30
 
31
- public function getHeaderText()
32
- {
33
- return $this->__("Send Message to '%s'", $this->getRequest()->getParam('type_name'));
 
 
34
  }
35
 
36
  public function getSaveUrl()
26
  $this->_formScripts[] = "function addToBulk()" .
27
  "{editForm.submit($('edit_form').action + 'bulk/true/')}";
28
  }
 
29
 
30
+ if (!$this->getRequest()->getParam('type')) {
31
+ $this->_headerText = $this->__('Send Message');
32
+ } else {
33
+ $this->_headerText = $this->__("Send Message to '%s'", $this->getRequest()->getParam('type_name'));
34
+ }
35
  }
36
 
37
  public function getSaveUrl()
app/code/local/Inchoo/Optit/Block/Adminhtml/Message/Sms/Edit.php CHANGED
@@ -26,11 +26,12 @@ class Inchoo_Optit_Block_Adminhtml_Message_Sms_Edit extends Mage_Adminhtml_Block
26
  $this->_formScripts[] = "function addToBulk()" .
27
  "{editForm.submit($('edit_form').action + 'bulk/true/')}";
28
  }
29
- }
30
 
31
- public function getHeaderText()
32
- {
33
- return $this->__("Send Message to '%s'", $this->getRequest()->getParam('type_name'));
 
 
34
  }
35
 
36
  public function getSaveUrl()
26
  $this->_formScripts[] = "function addToBulk()" .
27
  "{editForm.submit($('edit_form').action + 'bulk/true/')}";
28
  }
 
29
 
30
+ if (!$this->getRequest()->getParam('type')) {
31
+ $this->_headerText = $this->__('Send Message');
32
+ } else {
33
+ $this->_headerText = $this->__("Send Message to '%s'", $this->getRequest()->getParam('type_name'));
34
+ }
35
  }
36
 
37
  public function getSaveUrl()
package.xml CHANGED
@@ -1,20 +1,62 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Optit</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Integration with Opt It SMS and MMS</summary>
10
- <description>Opt It Mobile is an industry leading text message marketing application to engage, build brand awareness and create a direct dialogue with your customers. Thousands are growing their businesses by utilizing the power of permission based text message marketing.&#xD;
11
  &#xD;
12
- This Magento extension integrates with Opt It's Mobile API and provides membership management and messaging UI as well as a PHP API.</description>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  <notes>Install extension and configure at Promotions &gt; Opt It.</notes>
14
  <authors><author><name>Technivant</name><user>technivant</user><email>info@technivant.com</email></author></authors>
15
- <date>2016-08-25</date>
16
- <time>17:11:08</time>
17
- <contents><target name="magelocal"><dir name="Inchoo"><dir name="Optit"><dir name="Block"><dir name="Adminhtml"><dir name="Interest"><dir name="Edit"><file name="Form.php" hash="df10a009994e5374d7746c0c92ce9c12"/></dir><file name="Edit.php" hash="0172c0c244fb114af0f13dd73831556b"/><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="8cba7872f28f6b1a4164975985f84ed4"/></dir></dir><file name="Grid.php" hash="e6f6c0c2130bbc3cef013c2b5d59a3ec"/></dir><file name="Interest.php" hash="be10603096527cbed2fde68be36a35d3"/><dir name="Keyword"><dir name="Edit"><file name="Form.php" hash="6aeb0706dbf04db126d1e307fd829c23"/></dir><file name="Edit.php" hash="656069a0f85727fd9a835df80ee72cf0"/><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="1714ce05480ccbaa1e3e28887083cddd"/></dir></dir><file name="Grid.php" hash="86a74f09ec914eb487cf1fbcf5809b76"/></dir><file name="Keyword.php" hash="181fc425efea649c9e49b876d301ad1b"/><dir name="Member"><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="2082516783f3f3902868b75354590e9e"/></dir></dir><file name="Grid.php" hash="4e1fb6f3d704b8fcb610388862b65c27"/></dir><file name="Member.php" hash="7ff3b27bbc7c821f25eb3d57ff985630"/><dir name="Message"><dir name="Mms"><dir name="Edit"><file name="Form.php" hash="b37be684c503c129a9d6e9a68765d918"/></dir><file name="Edit.php" hash="9aa6e2df90bc31a32f5fbcfb8ade6d31"/><file name="Grid.php" hash="ff151a11c534166fd9dc91bdd9559f41"/></dir><file name="Mms.php" hash="8ea4720ddbe38f354df62ee55f52d58b"/><dir name="Sms"><dir name="Edit"><file name="Form.php" hash="0dfa643029d505dd1d010b2439b541bc"/></dir><file name="Edit.php" hash="b21feaab8e0b222e1e3933eff92812cb"/><file name="Grid.php" hash="ad8c7a89747fe7a9bfbbfefd087bc22b"/></dir><file name="Sms.php" hash="96a9548b60439eb714b5237a191b3428"/></dir><dir name="Subscription"><dir name="Edit"><file name="Form.php" hash="4523f8c9198a01104af6d7715b6c420e"/></dir><file name="Edit.php" hash="abafedbb184ab992c2bf86c911a35602"/><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="17778376644da1bf0ee6f392bffdb45a"/></dir></dir><file name="Grid.php" hash="7a354b9d7169c791ae5c65b1cb699d2c"/><dir name="Subscribe"><dir name="Edit"><file name="Form.php" hash="ada190d4e10ee7e47b98f8e8ac47eeeb"/></dir><file name="Edit.php" hash="62df7dbb26c291df4aa84138b4e2c983"/></dir></dir><file name="Subscription.php" hash="3310bddbff194e31277ae13330ddbe2a"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="7c5fecdb611324e125939fe198c2dd64"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="1af5128668db4db4cef4280e4c27618a"/></dir><dir name="Model"><file name="Abstract.php" hash="d9fc6dddce55b4926c6cacd262071bb8"/><file name="Client.php" hash="c57fbf485e9fc96ce623e19807dcf741"/><file name="Collecition.php" hash="c41691c5bc4eac2a32cdc7afc8d1d4fd"/><file name="Interest.php" hash="5e516647ed41ecc4d7c765826ef0d19e"/><file name="Keyword.php" hash="efe1c134ef8faa229354486ebdd1dbf1"/><file name="Member.php" hash="8f34d20363d7b3c5b820a809b8f0327d"/><file name="Message.php" hash="d495d7712d4c78dd01ec8a03371413bc"/><dir name="Resource"><dir name="Message"><file name="Collection.php" hash="29911120fcad734ffa39b760acb1db53"/></dir><file name="Message.php" hash="a16ce9e6b10216b75e3a0edd31a71c20"/><file name="Phone.php" hash="27c2954051dda30d18b9cb23256c52ca"/></dir><file name="Subscription.php" hash="c0e581a9c53418723f08a6c5b8860f1a"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Billing"><file name="Type.php" hash="800d8f9979007385a40c1166e4c9e92e"/></dir><dir name="Customer"><file name="Gender.php" hash="b8625afdc238b9cfe5d249ec4b3acdc4"/></dir><dir name="Message"><file name="Keyword.php" hash="edfaa1a4107912a71e47be6877b44570"/></dir><dir name="Subscribed"><dir name="Message"><file name="Type.php" hash="d351cc84a860f9c61c1d3ced4e3dd69e"/></dir></dir><dir name="Subscription"><file name="Interest.php" hash="2ea5d71c2edae769970d3ba0e5853746"/><file name="Phone.php" hash="5b16446404b73f24ac6d2009f1599807"/></dir><dir name="Web"><dir name="Form"><dir name="Message"><file name="Type.php" hash="6984f36be07d3460d939e5a845353c8f"/></dir></dir></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Optit"><file name="BulkController.php" hash="84ed21ffbd335d6c4fb3e0948a37d717"/><file name="InterestController.php" hash="cfb2d653329129d650db6df8362f2415"/><file name="KeywordController.php" hash="e094cc91ca9e5b31719ca51d0a9025e1"/><file name="MemberController.php" hash="71f063ab9c61f17f79c6403aee9f85af"/><file name="MessageController.php" hash="b67a2d85eebfa3daa5f807fb767740cd"/><file name="SubscriptionController.php" hash="ded72ce832ae52b30115f307cd2ebafb"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2ba9415e5d9a8ac7355ccf253f5984f2"/><file name="config.xml" hash="45f640fa7006ad389fab1b8e48d42aff"/><file name="system.xml" hash="624659a31880ab41d4232635847ecaeb"/></dir><dir name="sql"><dir name="optit_setup"><file name="install-0.1.0.php" hash="9eef425b56118d478f4cf59f87d328f9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="optit.xml" hash="44554e5e8a8108d5733c3ccbc9f7c425"/></dir><dir name="template"><dir name="optit"><file name="grid.phtml" hash="701a433d0dc3a701921321b757d0a669"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Inchoo_Optit.xml" hash="3965904c7abe0c9c01b71c193a2828e5"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Optit</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Integration with Opt It SMS and MMS</summary>
10
+ <description>Opt It SMS / MMS&#xD;
11
  &#xD;
12
+ About Opt It&#xD;
13
+ &#xD;
14
+ Opt It Mobile is an industry leading text message marketing application to engage, build brand awareness and create a direct dialogue with your customers. Thousands are growing their businesses by utilizing the power of permission based text message marketing.&#xD;
15
+ &#xD;
16
+ This extension integrates with Opt It's Mobile API and provides membership management and messaging UI as well as a PHP API.&#xD;
17
+ &#xD;
18
+ Features:&#xD;
19
+ &#xD;
20
+ Keyword Management Functionality&#xD;
21
+ - List all existing keywords&#xD;
22
+ - Add a new keyword&#xD;
23
+ - Update an existing keyword&#xD;
24
+ &#xD;
25
+ Member Management&#xD;
26
+ - List all existing members&#xD;
27
+ - Add a new member&#xD;
28
+ - Update an existing member&#xD;
29
+ &#xD;
30
+ Interests&#xD;
31
+ - List all interests for a keyword&#xD;
32
+ - Create an interest&#xD;
33
+ &#xD;
34
+ Subscriptions&#xD;
35
+ - List subscriptions for a keyword&#xD;
36
+ - Create a subscription for a keyword&#xD;
37
+ - List subscriptions for an interest&#xD;
38
+ - Create a subscription for an interest&#xD;
39
+ - Delete a subscription for an interest&#xD;
40
+ &#xD;
41
+ Send Message&#xD;
42
+ - Send a text message to one or more members&#xD;
43
+ - Send a text message to one or more keyword subscription lists&#xD;
44
+ - Send a text message to one or more interest subscription lists&#xD;
45
+ &#xD;
46
+ Bulk Message&#xD;
47
+ - Send bulk SMS messages&#xD;
48
+ &#xD;
49
+ Permissions&#xD;
50
+ - Send a message&#xD;
51
+ - View keywords, interests, and subscriptions&#xD;
52
+ - Create or edit keywords, interests, and subscriptions&#xD;
53
+ - View members&#xD;
54
+ - Create or edit members</description>
55
  <notes>Install extension and configure at Promotions &gt; Opt It.</notes>
56
  <authors><author><name>Technivant</name><user>technivant</user><email>info@technivant.com</email></author></authors>
57
+ <date>2016-08-26</date>
58
+ <time>19:36:14</time>
59
+ <contents><target name="magelocal"><dir name="Inchoo"><dir name="Optit"><dir name="Block"><dir name="Adminhtml"><dir name="Interest"><dir name="Edit"><file name="Form.php" hash="df10a009994e5374d7746c0c92ce9c12"/></dir><file name="Edit.php" hash="0172c0c244fb114af0f13dd73831556b"/><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="8cba7872f28f6b1a4164975985f84ed4"/></dir></dir><file name="Grid.php" hash="e6f6c0c2130bbc3cef013c2b5d59a3ec"/></dir><file name="Interest.php" hash="be10603096527cbed2fde68be36a35d3"/><dir name="Keyword"><dir name="Edit"><file name="Form.php" hash="6aeb0706dbf04db126d1e307fd829c23"/></dir><file name="Edit.php" hash="656069a0f85727fd9a835df80ee72cf0"/><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="2c45ddef6c320895ccd92942c5d767cf"/></dir></dir><file name="Grid.php" hash="86a74f09ec914eb487cf1fbcf5809b76"/></dir><file name="Keyword.php" hash="181fc425efea649c9e49b876d301ad1b"/><dir name="Member"><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="2082516783f3f3902868b75354590e9e"/></dir></dir><file name="Grid.php" hash="4e1fb6f3d704b8fcb610388862b65c27"/></dir><file name="Member.php" hash="7ff3b27bbc7c821f25eb3d57ff985630"/><dir name="Message"><dir name="Mms"><dir name="Edit"><file name="Form.php" hash="b37be684c503c129a9d6e9a68765d918"/></dir><file name="Edit.php" hash="374658f309899041d0e3a53a256d5f0e"/><file name="Grid.php" hash="ff151a11c534166fd9dc91bdd9559f41"/></dir><file name="Mms.php" hash="8ea4720ddbe38f354df62ee55f52d58b"/><dir name="Sms"><dir name="Edit"><file name="Form.php" hash="0dfa643029d505dd1d010b2439b541bc"/></dir><file name="Edit.php" hash="f0fbed3cda33f4357cd4541188a4e069"/><file name="Grid.php" hash="ad8c7a89747fe7a9bfbbfefd087bc22b"/></dir><file name="Sms.php" hash="96a9548b60439eb714b5237a191b3428"/></dir><dir name="Subscription"><dir name="Edit"><file name="Form.php" hash="4523f8c9198a01104af6d7715b6c420e"/></dir><file name="Edit.php" hash="abafedbb184ab992c2bf86c911a35602"/><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="17778376644da1bf0ee6f392bffdb45a"/></dir></dir><file name="Grid.php" hash="7a354b9d7169c791ae5c65b1cb699d2c"/><dir name="Subscribe"><dir name="Edit"><file name="Form.php" hash="ada190d4e10ee7e47b98f8e8ac47eeeb"/></dir><file name="Edit.php" hash="62df7dbb26c291df4aa84138b4e2c983"/></dir></dir><file name="Subscription.php" hash="3310bddbff194e31277ae13330ddbe2a"/><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="7c5fecdb611324e125939fe198c2dd64"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="1af5128668db4db4cef4280e4c27618a"/></dir><dir name="Model"><file name="Abstract.php" hash="d9fc6dddce55b4926c6cacd262071bb8"/><file name="Client.php" hash="c57fbf485e9fc96ce623e19807dcf741"/><file name="Collecition.php" hash="c41691c5bc4eac2a32cdc7afc8d1d4fd"/><file name="Interest.php" hash="5e516647ed41ecc4d7c765826ef0d19e"/><file name="Keyword.php" hash="efe1c134ef8faa229354486ebdd1dbf1"/><file name="Member.php" hash="8f34d20363d7b3c5b820a809b8f0327d"/><file name="Message.php" hash="d495d7712d4c78dd01ec8a03371413bc"/><dir name="Resource"><dir name="Message"><file name="Collection.php" hash="29911120fcad734ffa39b760acb1db53"/></dir><file name="Message.php" hash="a16ce9e6b10216b75e3a0edd31a71c20"/><file name="Phone.php" hash="27c2954051dda30d18b9cb23256c52ca"/></dir><file name="Subscription.php" hash="c0e581a9c53418723f08a6c5b8860f1a"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Billing"><file name="Type.php" hash="800d8f9979007385a40c1166e4c9e92e"/></dir><dir name="Customer"><file name="Gender.php" hash="b8625afdc238b9cfe5d249ec4b3acdc4"/></dir><dir name="Message"><file name="Keyword.php" hash="edfaa1a4107912a71e47be6877b44570"/></dir><dir name="Subscribed"><dir name="Message"><file name="Type.php" hash="d351cc84a860f9c61c1d3ced4e3dd69e"/></dir></dir><dir name="Subscription"><file name="Interest.php" hash="2ea5d71c2edae769970d3ba0e5853746"/><file name="Phone.php" hash="5b16446404b73f24ac6d2009f1599807"/></dir><dir name="Web"><dir name="Form"><dir name="Message"><file name="Type.php" hash="6984f36be07d3460d939e5a845353c8f"/></dir></dir></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Optit"><file name="BulkController.php" hash="84ed21ffbd335d6c4fb3e0948a37d717"/><file name="InterestController.php" hash="cfb2d653329129d650db6df8362f2415"/><file name="KeywordController.php" hash="e094cc91ca9e5b31719ca51d0a9025e1"/><file name="MemberController.php" hash="71f063ab9c61f17f79c6403aee9f85af"/><file name="MessageController.php" hash="b67a2d85eebfa3daa5f807fb767740cd"/><file name="SubscriptionController.php" hash="ded72ce832ae52b30115f307cd2ebafb"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2ba9415e5d9a8ac7355ccf253f5984f2"/><file name="config.xml" hash="45f640fa7006ad389fab1b8e48d42aff"/><file name="system.xml" hash="624659a31880ab41d4232635847ecaeb"/></dir><dir name="sql"><dir name="optit_setup"><file name="install-0.1.0.php" hash="9eef425b56118d478f4cf59f87d328f9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="optit.xml" hash="44554e5e8a8108d5733c3ccbc9f7c425"/></dir><dir name="template"><dir name="optit"><file name="grid.phtml" hash="701a433d0dc3a701921321b757d0a669"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Inchoo_Optit.xml" hash="3965904c7abe0c9c01b71c193a2828e5"/></dir></target></contents>
60
  <compatible/>
61
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
62
  </package>