Version Notes
*Settings menu item added
*Small fixes
This release is stable and contains sample data
Download this release
Release Info
Developer | Vladimir Popov |
Extension | Web-forms |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
app/code/community/VladimirPopov/WebForms/Block/Adminhtml/Menu.php
CHANGED
@@ -28,7 +28,6 @@ class VladimirPopov_WebForms_Block_Adminhtml_Menu extends Mage_Adminhtml_Block_P
|
|
28 |
}
|
29 |
}
|
30 |
|
31 |
-
$k=0;
|
32 |
foreach($collection as $webform){
|
33 |
$menuitem = array(
|
34 |
'label' => $webform->getName(),
|
@@ -37,12 +36,19 @@ class VladimirPopov_WebForms_Block_Adminhtml_Menu extends Mage_Adminhtml_Block_P
|
|
37 |
'level' => 1,
|
38 |
'url' => $this->getUrl('webforms/adminhtml_results',array('webform_id'=>$webform->getId()))
|
39 |
);
|
40 |
-
if($k==$totalCount-1){
|
41 |
-
$menuitem['last'] = true;
|
42 |
-
}
|
43 |
$parentArr['webforms']['children'][]= $menuitem;
|
44 |
-
$k++;
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
return $parentArr;
|
48 |
}
|
28 |
}
|
29 |
}
|
30 |
|
|
|
31 |
foreach($collection as $webform){
|
32 |
$menuitem = array(
|
33 |
'label' => $webform->getName(),
|
36 |
'level' => 1,
|
37 |
'url' => $this->getUrl('webforms/adminhtml_results',array('webform_id'=>$webform->getId()))
|
38 |
);
|
|
|
|
|
|
|
39 |
$parentArr['webforms']['children'][]= $menuitem;
|
|
|
40 |
}
|
41 |
+
|
42 |
+
$configItem = array(
|
43 |
+
'label' => $this->__('Forms Settings'),
|
44 |
+
'active' => false ,
|
45 |
+
'sort_order' => $i++ * 10,
|
46 |
+
'level' => 1,
|
47 |
+
'url' => $this->getUrl('adminhtml/system_config/edit/section/webforms'),
|
48 |
+
'last' => true
|
49 |
+
);
|
50 |
+
|
51 |
+
$parentArr['webforms']['children'][]= $configItem;
|
52 |
|
53 |
return $parentArr;
|
54 |
}
|
app/code/community/VladimirPopov/WebForms/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<VladimirPopov_WebForms>
|
5 |
-
<version>1.0.
|
6 |
</VladimirPopov_WebForms>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -192,10 +192,9 @@
|
|
192 |
</global>
|
193 |
<default>
|
194 |
<webforms>
|
195 |
-
<
|
196 |
-
<
|
197 |
-
|
198 |
-
</email>
|
199 |
</webforms>
|
200 |
</default>
|
201 |
</config>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<VladimirPopov_WebForms>
|
5 |
+
<version>1.0.3</version>
|
6 |
</VladimirPopov_WebForms>
|
7 |
</modules>
|
8 |
<frontend>
|
192 |
</global>
|
193 |
<default>
|
194 |
<webforms>
|
195 |
+
<results>
|
196 |
+
<fieldname_display_limit>25</fieldname_display_limit>
|
197 |
+
</results>
|
|
|
198 |
</webforms>
|
199 |
</default>
|
200 |
</config>
|
app/code/community/VladimirPopov/WebForms/etc/system.xml
CHANGED
@@ -53,7 +53,7 @@
|
|
53 |
</email>
|
54 |
<captcha translate="label comment">
|
55 |
<comment>
|
56 |
-
<![CDATA[
|
57 |
</comment>
|
58 |
<label>reCaptcha settings</label>
|
59 |
<frontend_type>text</frontend_type>
|
53 |
</email>
|
54 |
<captcha translate="label comment">
|
55 |
<comment>
|
56 |
+
<![CDATA[In order for reCaptcha to work please enter valid public and private keys. You can get those by visiting <a href='http://www.google.com/recaptcha/whyrecaptcha' target='_blank'>this page</a>]]>
|
57 |
</comment>
|
58 |
<label>reCaptcha settings</label>
|
59 |
<frontend_type>text</frontend_type>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Web-forms</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -21,13 +21,14 @@ E-mail notification
|
|
21 |
Widget interface
|
22 |

|
23 |
</description>
|
24 |
-
<notes>*
|
|
|
25 |

|
26 |
This release is stable and contains sample data</notes>
|
27 |
<authors><author><name>Vladimir Popov</name><user>rebimol</user><email>rebimol@gmail.com</email></author></authors>
|
28 |
-
<date>2011-
|
29 |
-
<time>
|
30 |
-
<contents><target name="magecommunity"><dir name="VladimirPopov"><dir name="WebForms"><dir name="Block"><dir name="Adminhtml"><dir name="Fields"><dir name="Edit"><file name="Form.php" hash="9ffe2818060c46cb4fc74ce5cb91b5d3"/><dir name="Tab"><file name="Design.php" hash="39fd8a60cf7ea4418b5af7faae586975"/><file name="Information.php" hash="dea900db9dcfb25ae20466de72da13da"/></dir><file name="Tabs.php" hash="f386fe1baa9f1059597361a4e3abf50c"/></dir><file name="Edit.php" hash="0a6048d2a169f049f08c2b83e233b4ee"/></dir><dir name="Fieldsets"><dir name="Edit"><file name="Form.php" hash="07f97eaece3a1c81461ec562d6248218"/></dir><file name="Edit.php" hash="bb8e13b4080e9f486d71b4c28c64acb3"/></dir><file name="Menu.php" hash="
|
31 |
<compatible/>
|
32 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
33 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Web-forms</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
21 |
Widget interface
|
22 |

|
23 |
</description>
|
24 |
+
<notes>*Settings menu item added
|
25 |
+
*Small fixes
|
26 |

|
27 |
This release is stable and contains sample data</notes>
|
28 |
<authors><author><name>Vladimir Popov</name><user>rebimol</user><email>rebimol@gmail.com</email></author></authors>
|
29 |
+
<date>2011-07-01</date>
|
30 |
+
<time>03:58:17</time>
|
31 |
+
<contents><target name="magecommunity"><dir name="VladimirPopov"><dir name="WebForms"><dir name="Block"><dir name="Adminhtml"><dir name="Fields"><dir name="Edit"><file name="Form.php" hash="9ffe2818060c46cb4fc74ce5cb91b5d3"/><dir name="Tab"><file name="Design.php" hash="39fd8a60cf7ea4418b5af7faae586975"/><file name="Information.php" hash="dea900db9dcfb25ae20466de72da13da"/></dir><file name="Tabs.php" hash="f386fe1baa9f1059597361a4e3abf50c"/></dir><file name="Edit.php" hash="0a6048d2a169f049f08c2b83e233b4ee"/></dir><dir name="Fieldsets"><dir name="Edit"><file name="Form.php" hash="07f97eaece3a1c81461ec562d6248218"/></dir><file name="Edit.php" hash="bb8e13b4080e9f486d71b4c28c64acb3"/></dir><file name="Menu.php" hash="14cf08fbc1e63d75cf09cddaa5f3abe5"/><dir name="Results"><file name="Grid.php" hash="7e270cfd88ed616dbfdfefb98fc02e84"/><dir name="Renderer"><file name="Customer.php" hash="d8ec4e96a0328e4ede0541cbabff6785"/><file name="Value.php" hash="93e405c9319ed4b49820198896079c5d"/></dir></dir><file name="Results.php" hash="7b98dd1e0d25cfb9de609debfe2631b9"/><dir name="Webforms"><dir name="Edit"><file name="Form.php" hash="840719eda1da4bf4e87818a681a648e6"/><dir name="Tab"><file name="Fields.php" hash="d7025e4f851cdd04537d7f2d097708a5"/><file name="Fieldsets.php" hash="116b02a5d04354dab2a515c95e680afe"/><file name="Information.php" hash="83ce9571d7ea046c08f7225eed356ac1"/><file name="Settings.php" hash="9df715e6b5879b0b39ff5b5e7454179a"/></dir><file name="Tabs.php" hash="35518794b40de4a53c5e67752016e139"/></dir><file name="Edit.php" hash="798043bcb29e39e8b3722d9d9d9c8f6c"/><file name="Grid.php" hash="700c803514f8d11af836bda4085208a0"/><dir name="Renderer"><file name="Action.php" hash="28c80bbe3629fcf2d0311ec2be71977d"/><file name="Fields.php" hash="306f94d4f48a41ab0a504abe542e7e53"/><file name="Results.php" hash="677db08f6d7f44e567ac00d389d0be8f"/></dir></dir><file name="Webforms.php" hash="5420eb22f9328001d64978c4e8f78ffc"/></dir><file name="Webforms.php" hash="fc7d37a99e91d041565cefce45d7f42f"/><file name="Widget.php" hash="6dce28e97ec3ddf7c382ce03a99aa26f"/></dir><dir name="Helper"><file name="Data.php" hash="48560d0f68aa91ed46c3476f06521b09"/></dir><dir name="Model"><file name="Fields.php" hash="15befd9b0ca29b4dc07422fb2f6566f7"/><file name="Fieldsets.php" hash="15b00e18c2e6c86573e90066550dc368"/><dir name="Mysql4"><dir name="Fields"><file name="Collection.php" hash="6082820c93f20beff0d0047a58e0f38c"/></dir><file name="Fields.php" hash="d86cb29269ff56b47a835822a0b227d6"/><dir name="Fieldsets"><file name="Collection.php" hash="6314b0b08baea7c6e281b47b087f17e6"/></dir><file name="Fieldsets.php" hash="2c9cc1d8fb137a74f5d54d72ca56e4a1"/><dir name="Results"><file name="Collection.php" hash="876201edb777cacc96b5012274786371"/></dir><file name="Results.php" hash="a580b87d855c97bcde86289a34da4f08"/><dir name="Webforms"><file name="Collection.php" hash="08a22b16b19dd90d62ab664ecb6c1897"/></dir><file name="Webforms.php" hash="8845b56994427eb8981f426d094a6977"/></dir><file name="Results.php" hash="a3fc84d71ca5e22090bf4ba91fbf7c49"/><file name="Webforms.php" hash="4151a1759c2ccb9f0738047ade1d444f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FieldsController.php" hash="067b7ae0f535eb48b61ec9ec4a862932"/><file name="FieldsetsController.php" hash="9af41a7aacb8668604fab12134ba73e2"/><file name="ResultsController.php" hash="1d2ec9d0cdc121cc0c5241c9e00439b8"/><file name="WebformsController.php" hash="8f5e5285540ad9a1d44f6faff47315f3"/></dir><file name="IndexController.php" hash="f546518ffff7f08a10f15f8b094a4889"/></dir><dir name="etc"><file name="config.xml" hash="97b5f3e4256d84618dbca8b8ef668d91"/><file name="system.xml" hash="ca97c334d2762c607762f7ed4e6fa84d"/><file name="widget.xml" hash="4ce4dfc5e052cf6e081136bae2c8de6f"/></dir><dir name="sql"><dir name="webforms_setup"><file name="mysql4-install-1.0.1.php" hash="768d487a6b0fd660a4350693c01dc84f"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="VladimirPopov_WebForms.csv" hash="0e9a00ad901a5d91268641733a56c94d"/><dir name="template"><dir name="email"><file name="webforms_results.html" hash="bf775d1f202162d9c20154107c031b27"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="webforms.xml" hash="5fb83919accc09539dd4df6e0670fbc3"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="webforms.xml" hash="19b288c8fe2db45a655aadd9f6d24ccd"/></dir><dir name="template"><dir name="webforms"><file name="default.phtml" hash="e1e323bffbaea850eff72ce985afacbc"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VladimirPopov_WebForms.xml" hash="cb5fecfd55a527b2e3cc388d9c254848"/></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|