Version Notes
Fixed install problems, not dependent on live any longer.
Download this release
Release Info
Developer | Lexity |
Extension | Incentivibe |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.3.4
- app/code/local/Incentivibe/Block/Credentials/Form/Edit.php +2 -2
- app/code/local/Incentivibe/Block/Credentials/Form/Edit/Tab/Form.php +4 -4
- app/code/local/Incentivibe/Block/Credentials/Form/Edit/Tabs.php +4 -4
- app/code/local/Incentivibe/Block/Embed.php +1 -1
- app/code/local/Incentivibe/controllers/MarketingController.php +6 -6
- app/code/local/Incentivibe/etc/api.xml +6 -6
- app/code/local/Incentivibe/etc/config.xml +17 -17
- package.xml +5 -5
app/code/local/Incentivibe/Block/Credentials/Form/Edit.php
CHANGED
@@ -5,7 +5,7 @@ class Incentivibe_Block_Credentials_Form_Edit extends Mage_Adminhtml_Block_Widge
|
|
5 |
Mage::log('Lexity: In Block Form Edit');
|
6 |
parent::__construct();
|
7 |
$this->_objectId = 'credentials';
|
8 |
-
$this->_blockGroup = '
|
9 |
$this->_controller = 'credentials_form';
|
10 |
$this->_mode = 'edit';
|
11 |
$this->_removeButton('reset')
|
@@ -15,7 +15,7 @@ class Incentivibe_Block_Credentials_Form_Edit extends Mage_Adminhtml_Block_Widge
|
|
15 |
|
16 |
public function getHeaderText() {
|
17 |
Mage::log('Lexity: You got the header text');
|
18 |
-
return Mage::helper('
|
19 |
}
|
20 |
|
21 |
}
|
5 |
Mage::log('Lexity: In Block Form Edit');
|
6 |
parent::__construct();
|
7 |
$this->_objectId = 'credentials';
|
8 |
+
$this->_blockGroup = 'incentivibe';
|
9 |
$this->_controller = 'credentials_form';
|
10 |
$this->_mode = 'edit';
|
11 |
$this->_removeButton('reset')
|
15 |
|
16 |
public function getHeaderText() {
|
17 |
Mage::log('Lexity: You got the header text');
|
18 |
+
return Mage::helper('incentivibe')->__('Account Information');
|
19 |
}
|
20 |
|
21 |
}
|
app/code/local/Incentivibe/Block/Credentials/Form/Edit/Tab/Form.php
CHANGED
@@ -7,10 +7,10 @@ class Incentivibe_Block_Credentials_Form_Edit_Tab_Form extends Mage_Adminhtml_Bl
|
|
7 |
$this->setForm($form);
|
8 |
$fieldset = $form->addFieldset(
|
9 |
'form_form',
|
10 |
-
array('legend'=>Mage::helper('
|
11 |
Mage::log('Lexity: fieldset');
|
12 |
$fieldset->addField('email', 'text', array(
|
13 |
-
'label' => Mage::helper('
|
14 |
'class' => 'required-entry',
|
15 |
'required' => true,
|
16 |
'name' => 'email',
|
@@ -19,7 +19,7 @@ class Incentivibe_Block_Credentials_Form_Edit_Tab_Form extends Mage_Adminhtml_Bl
|
|
19 |
));
|
20 |
Mage::log('Lexity: addfield email');
|
21 |
$fieldset->addField('password', 'password', array(
|
22 |
-
'label' => Mage::helper('
|
23 |
'class' => 'required-entry',
|
24 |
'required' => true,
|
25 |
'name' => 'password',
|
@@ -28,7 +28,7 @@ class Incentivibe_Block_Credentials_Form_Edit_Tab_Form extends Mage_Adminhtml_Bl
|
|
28 |
));
|
29 |
Mage::log('Lexity: addfield password');
|
30 |
$fieldset->addField('domain', 'text', array(
|
31 |
-
'label' => Mage::helper('
|
32 |
'class' => 'required-entry',
|
33 |
'required' => true,
|
34 |
'name' => 'domain',
|
7 |
$this->setForm($form);
|
8 |
$fieldset = $form->addFieldset(
|
9 |
'form_form',
|
10 |
+
array('legend'=>Mage::helper('incentivibe')->__('Account Information')));
|
11 |
Mage::log('Lexity: fieldset');
|
12 |
$fieldset->addField('email', 'text', array(
|
13 |
+
'label' => Mage::helper('incentivibe')->__('Email'),
|
14 |
'class' => 'required-entry',
|
15 |
'required' => true,
|
16 |
'name' => 'email',
|
19 |
));
|
20 |
Mage::log('Lexity: addfield email');
|
21 |
$fieldset->addField('password', 'password', array(
|
22 |
+
'label' => Mage::helper('incentivibe')->__('Password'),
|
23 |
'class' => 'required-entry',
|
24 |
'required' => true,
|
25 |
'name' => 'password',
|
28 |
));
|
29 |
Mage::log('Lexity: addfield password');
|
30 |
$fieldset->addField('domain', 'text', array(
|
31 |
+
'label' => Mage::helper('incentivibe')->__('Domain'),
|
32 |
'class' => 'required-entry',
|
33 |
'required' => true,
|
34 |
'name' => 'domain',
|
app/code/local/Incentivibe/Block/Credentials/Form/Edit/Tabs.php
CHANGED
@@ -7,15 +7,15 @@ class Incentivibe_Block_Credentials_Form_Edit_Tabs extends Mage_Adminhtml_Block_
|
|
7 |
$this->setId('form_tabs');
|
8 |
// this should be same as the form id in Credentials_Form_Edit_Form.php
|
9 |
$this->setDestElementId('edit_form');
|
10 |
-
$this->setTitle(Mage::helper('
|
11 |
}
|
12 |
|
13 |
protected function _beforeToHtml() {
|
14 |
Mage::log('Lexity: Writing form to html');
|
15 |
$this->addTab('form_section', array(
|
16 |
-
'label' => Mage::helper('
|
17 |
-
'title' => Mage::helper('
|
18 |
-
'content' => $this->getLayout()->createBlock('
|
19 |
));
|
20 |
|
21 |
return parent::_beforeToHtml();
|
7 |
$this->setId('form_tabs');
|
8 |
// this should be same as the form id in Credentials_Form_Edit_Form.php
|
9 |
$this->setDestElementId('edit_form');
|
10 |
+
$this->setTitle(Mage::helper('incentivibe')->__('Lexity Account'));
|
11 |
}
|
12 |
|
13 |
protected function _beforeToHtml() {
|
14 |
Mage::log('Lexity: Writing form to html');
|
15 |
$this->addTab('form_section', array(
|
16 |
+
'label' => Mage::helper('incentivibe')->__('Account Information'),
|
17 |
+
'title' => Mage::helper('incentivibe')->__('Account Information'),
|
18 |
+
'content' => $this->getLayout()->createBlock('incentivibe/credentials_form_edit_tab_form')->toHtml(),
|
19 |
));
|
20 |
|
21 |
return parent::_beforeToHtml();
|
app/code/local/Incentivibe/Block/Embed.php
CHANGED
@@ -4,7 +4,7 @@ class Incentivibe_Block_Embed extends Mage_Adminhtml_Block_Template
|
|
4 |
public function _construct()
|
5 |
{
|
6 |
parent::_construct();
|
7 |
-
$this->setTemplate('
|
8 |
}
|
9 |
}
|
10 |
?>
|
4 |
public function _construct()
|
5 |
{
|
6 |
parent::_construct();
|
7 |
+
$this->setTemplate('incentivibe/embed.phtml');
|
8 |
}
|
9 |
}
|
10 |
?>
|
app/code/local/Incentivibe/controllers/MarketingController.php
CHANGED
@@ -4,7 +4,7 @@ class Incentivibe_MarketingController extends Mage_Adminhtml_Controller_Action {
|
|
4 |
public $embed = false;
|
5 |
|
6 |
public function goLexityAction() {
|
7 |
-
$core = Mage::getModel('
|
8 |
$action = $core->check_credentials();
|
9 |
$this->_forward($action);
|
10 |
}
|
@@ -13,15 +13,15 @@ class Incentivibe_MarketingController extends Mage_Adminhtml_Controller_Action {
|
|
13 |
Mage::log('Lexity: forworded to getCredentialsAction');
|
14 |
$this->_title('Confirm Credentials');
|
15 |
$this->loadLayout()->_setActiveMenu('Marketing');
|
16 |
-
$block = $this->getLayout()->createBlock('
|
17 |
-
$left_block = $this->getLayout()->createBlock('
|
18 |
$this->_addContent($block)->_addLeft($left_block);
|
19 |
$this->renderLayout();
|
20 |
}
|
21 |
|
22 |
public function newAppAction() {
|
23 |
Mage::log('Lexity: submitted to newAppAction');
|
24 |
-
$core = Mage::getModel('
|
25 |
if ($data = $this->getRequest()->getPost()) {
|
26 |
$email = $data['email'];
|
27 |
$password = $data['password'];
|
@@ -33,7 +33,7 @@ class Incentivibe_MarketingController extends Mage_Adminhtml_Controller_Action {
|
|
33 |
}
|
34 |
|
35 |
public function redirectAction() {
|
36 |
-
$core = Mage::getModel('
|
37 |
if ($this->embed) {
|
38 |
$target = urlencode('admin/incentivibe?embed=true');
|
39 |
} else {
|
@@ -45,7 +45,7 @@ class Incentivibe_MarketingController extends Mage_Adminhtml_Controller_Action {
|
|
45 |
Mage::register('embed_url', $url);
|
46 |
$this->_title('Incentivibe');
|
47 |
$this->loadLayout()->_setActiveMenu('Marketing');
|
48 |
-
$block = $this->getLayout()->createBlock('
|
49 |
$this->_addContent($block);
|
50 |
$this->renderLayout();
|
51 |
} else {
|
4 |
public $embed = false;
|
5 |
|
6 |
public function goLexityAction() {
|
7 |
+
$core = Mage::getModel('incentivibe/core');
|
8 |
$action = $core->check_credentials();
|
9 |
$this->_forward($action);
|
10 |
}
|
13 |
Mage::log('Lexity: forworded to getCredentialsAction');
|
14 |
$this->_title('Confirm Credentials');
|
15 |
$this->loadLayout()->_setActiveMenu('Marketing');
|
16 |
+
$block = $this->getLayout()->createBlock('incentivibe/credentials_form_edit');
|
17 |
+
$left_block = $this->getLayout()->createBlock('incentivibe/credentials_form_edit_tabs');
|
18 |
$this->_addContent($block)->_addLeft($left_block);
|
19 |
$this->renderLayout();
|
20 |
}
|
21 |
|
22 |
public function newAppAction() {
|
23 |
Mage::log('Lexity: submitted to newAppAction');
|
24 |
+
$core = Mage::getModel('incentivibe/core');
|
25 |
if ($data = $this->getRequest()->getPost()) {
|
26 |
$email = $data['email'];
|
27 |
$password = $data['password'];
|
33 |
}
|
34 |
|
35 |
public function redirectAction() {
|
36 |
+
$core = Mage::getModel('incentivibe/core');
|
37 |
if ($this->embed) {
|
38 |
$target = urlencode('admin/incentivibe?embed=true');
|
39 |
} else {
|
45 |
Mage::register('embed_url', $url);
|
46 |
$this->_title('Incentivibe');
|
47 |
$this->loadLayout()->_setActiveMenu('Marketing');
|
48 |
+
$block = $this->getLayout()->createBlock('incentivibe/embed');
|
49 |
$this->_addContent($block);
|
50 |
$this->renderLayout();
|
51 |
} else {
|
app/code/local/Incentivibe/etc/api.xml
CHANGED
@@ -2,21 +2,21 @@
|
|
2 |
<config>
|
3 |
<api>
|
4 |
<resources>
|
5 |
-
<
|
6 |
-
<model>
|
7 |
<title>Lexity Core API</title>
|
8 |
-
<acl>
|
9 |
<methods>
|
10 |
-
<getMisc translate="title" module="
|
11 |
<title>Get header scripts</title>
|
12 |
<method>getMisc</method>
|
13 |
</getMisc>
|
14 |
-
<setMisc translate="title" module="
|
15 |
<title>Set header scripts</title>
|
16 |
<method>setMisc</method>
|
17 |
</setMisc>
|
18 |
</methods>
|
19 |
-
</
|
20 |
</resources>
|
21 |
</api>
|
22 |
</config>
|
2 |
<config>
|
3 |
<api>
|
4 |
<resources>
|
5 |
+
<incentivibe_core translate="title" module="incentivibe">
|
6 |
+
<model>incentivibe/core_api</model>
|
7 |
<title>Lexity Core API</title>
|
8 |
+
<acl>incentivibe/core</acl>
|
9 |
<methods>
|
10 |
+
<getMisc translate="title" module="incentivibe">
|
11 |
<title>Get header scripts</title>
|
12 |
<method>getMisc</method>
|
13 |
</getMisc>
|
14 |
+
<setMisc translate="title" module="incentivibe">
|
15 |
<title>Set header scripts</title>
|
16 |
<method>setMisc</method>
|
17 |
</setMisc>
|
18 |
</methods>
|
19 |
+
</incentivibe_core>
|
20 |
</resources>
|
21 |
</api>
|
22 |
</config>
|
app/code/local/Incentivibe/etc/config.xml
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
<modules>
|
4 |
-
<
|
5 |
<version>0.1.0</version>
|
6 |
-
</
|
7 |
</modules>
|
8 |
<adminhtml>
|
9 |
<menu>
|
10 |
<Lexity translate="title">
|
11 |
<title>Marketing</title>
|
12 |
<children>
|
13 |
-
<
|
14 |
<title>Incentivibe</title>
|
15 |
-
<action>
|
16 |
<sort_order>0</sort_order>
|
17 |
-
</
|
18 |
</children>
|
19 |
<sort_order>900</sort_order>
|
20 |
</Lexity>
|
@@ -22,31 +22,31 @@
|
|
22 |
</adminhtml>
|
23 |
<global>
|
24 |
<helpers>
|
25 |
-
<
|
26 |
<class>Incentivibe_Helper</class>
|
27 |
-
</
|
28 |
</helpers>
|
29 |
<models>
|
30 |
-
<
|
31 |
<class>Incentivibe_Model</class>
|
32 |
-
</
|
33 |
</models>
|
34 |
<blocks>
|
35 |
-
<
|
36 |
<class>Incentivibe_Block</class>
|
37 |
-
</
|
38 |
</blocks>
|
39 |
</global>
|
40 |
|
41 |
<admin>
|
42 |
<routers>
|
43 |
-
<
|
44 |
<use>admin</use>
|
45 |
<args>
|
46 |
<module>Incentivibe</module>
|
47 |
-
<frontName>
|
48 |
</args>
|
49 |
-
</
|
50 |
</routers>
|
51 |
</admin>
|
52 |
|
@@ -55,11 +55,11 @@
|
|
55 |
<Lexity translate="title">
|
56 |
<title>Marketing</title>
|
57 |
<children>
|
58 |
-
<
|
59 |
<title>Incentivibe</title>
|
60 |
-
<action>
|
61 |
<sort_order>0</sort_order>
|
62 |
-
</
|
63 |
</children>
|
64 |
<sort_order>900</sort_order>
|
65 |
</Lexity>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
<modules>
|
4 |
+
<incentivibe>
|
5 |
<version>0.1.0</version>
|
6 |
+
</incentivibe>
|
7 |
</modules>
|
8 |
<adminhtml>
|
9 |
<menu>
|
10 |
<Lexity translate="title">
|
11 |
<title>Marketing</title>
|
12 |
<children>
|
13 |
+
<incentivibe translate="title" module="incentivibe">
|
14 |
<title>Incentivibe</title>
|
15 |
+
<action>incentivibe/marketing/golexity</action>
|
16 |
<sort_order>0</sort_order>
|
17 |
+
</incentivibe>
|
18 |
</children>
|
19 |
<sort_order>900</sort_order>
|
20 |
</Lexity>
|
22 |
</adminhtml>
|
23 |
<global>
|
24 |
<helpers>
|
25 |
+
<incentivibe>
|
26 |
<class>Incentivibe_Helper</class>
|
27 |
+
</incentivibe>
|
28 |
</helpers>
|
29 |
<models>
|
30 |
+
<incentivibe>
|
31 |
<class>Incentivibe_Model</class>
|
32 |
+
</incentivibe>
|
33 |
</models>
|
34 |
<blocks>
|
35 |
+
<incentivibe>
|
36 |
<class>Incentivibe_Block</class>
|
37 |
+
</incentivibe>
|
38 |
</blocks>
|
39 |
</global>
|
40 |
|
41 |
<admin>
|
42 |
<routers>
|
43 |
+
<incentivibe>
|
44 |
<use>admin</use>
|
45 |
<args>
|
46 |
<module>Incentivibe</module>
|
47 |
+
<frontName>incentivibe</frontName>
|
48 |
</args>
|
49 |
+
</incentivibe>
|
50 |
</routers>
|
51 |
</admin>
|
52 |
|
55 |
<Lexity translate="title">
|
56 |
<title>Marketing</title>
|
57 |
<children>
|
58 |
+
<incentivibe translate="title" module="incentivibe">
|
59 |
<title>Incentivibe</title>
|
60 |
+
<action>incentivibe/marketing/golexity</action>
|
61 |
<sort_order>0</sort_order>
|
62 |
+
</incentivibe>
|
63 |
</children>
|
64 |
<sort_order>900</sort_order>
|
65 |
</Lexity>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Incentivibe</name>
|
4 |
-
<version>1.3.
|
5 |
<stability>stable</stability>
|
6 |
<license>BSD License</license>
|
7 |
<channel>community</channel>
|
@@ -34,11 +34,11 @@ Business owners like yourself are already seeing tremendous results. See what th
|
|
34 |
“The idea of paying a fraction of the amount for costly giveaway prizes by sharing the cost with others is just sheer brilliance. WizeNation generated a lot of traffic for the period of time the giveaway contest was taking place.”– Asim S., WizeNation
|
35 |

|
36 |
For any questions, concerns or issues, please don't hesitate to contact us at info@incentivibe.com or call us at 647-262-6877. We will reply ASAP.</description>
|
37 |
-
<notes>
|
38 |
<authors><author><name>Lexity</name><user>lexity</user><email>support@lexity.com</email></author></authors>
|
39 |
-
<date>2013-
|
40 |
-
<time>
|
41 |
-
<contents><target name="magelocal"><dir name="Incentivibe"><dir name="Block"><dir name="Credentials"><dir name="Form"><dir name="Edit"><file name="Form.php" hash="f474348231fc5f2fbf55a088960c8dfe"/><dir name="Tab"><file name="Form.php" hash="
|
42 |
<compatible/>
|
43 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
44 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Incentivibe</name>
|
4 |
+
<version>1.3.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>BSD License</license>
|
7 |
<channel>community</channel>
|
34 |
“The idea of paying a fraction of the amount for costly giveaway prizes by sharing the cost with others is just sheer brilliance. WizeNation generated a lot of traffic for the period of time the giveaway contest was taking place.”– Asim S., WizeNation
|
35 |

|
36 |
For any questions, concerns or issues, please don't hesitate to contact us at info@incentivibe.com or call us at 647-262-6877. We will reply ASAP.</description>
|
37 |
+
<notes>Fixed install problems, not dependent on live any longer.</notes>
|
38 |
<authors><author><name>Lexity</name><user>lexity</user><email>support@lexity.com</email></author></authors>
|
39 |
+
<date>2013-09-09</date>
|
40 |
+
<time>17:05:52</time>
|
41 |
+
<contents><target name="magelocal"><dir name="Incentivibe"><dir name="Block"><dir name="Credentials"><dir name="Form"><dir name="Edit"><file name="Form.php" hash="f474348231fc5f2fbf55a088960c8dfe"/><dir name="Tab"><file name="Form.php" hash="43d060731a2363980140f5165c2c8a88"/></dir><file name="Tabs.php" hash="69d1a2a2d27c239ffe9faeee4f38280d"/></dir><file name="Edit.php" hash="9f32f24c2438c4ac5ce05f15df63cf2a"/></dir></dir><file name="Embed.php" hash="6bb758620b7b3ce748467d858b2dbf6f"/></dir><dir name="Helper"><file name="Data.php" hash="8e1bd9769ef8aceedadfc4621eca7be8"/></dir><dir name="Model"><dir name="Core"><file name="Api.php" hash="a77a553ac4df826971b30d32146ba62f"/></dir><file name="Core.php" hash="6711c7ffa78ef463aafbfc4a6c875c8e"/><dir name="Order"><file name="Api.php" hash="96490635b3c01115c9fa97e66600909b"/></dir></dir><dir name="controllers"><file name="MarketingController.php" hash="24d419296d58e5f5047fb4e6a2afb8d3"/></dir><dir name="etc"><file name="api.xml" hash="32f55ce7c8b8154f0efbdb5a95c9b754"/><file name="config.xml" hash="143c0de246e34b976b99f0daee01c2cc"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Incentivibe.xml" hash="b1a9b462fde762efa4e3adfa97c887c3"/></dir></target></contents>
|
42 |
<compatible/>
|
43 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
44 |
</package>
|