Dropifi_Dropificontactwidget - Version 2.1.0

Version Notes

Release: redesign of the contact widget to make it responsive
Release: displays beautifully on mobile devices
Release: Captcha added to the contact form to reduce spam
Release: loads very fast and does not interfere with other plugins
Release: support for Dropifi contact widget below version 2.0 will be dropped in 2015 so please upgrade.

Download this release

Release Info

Developer Effah Mensah
Extension Dropifi_Dropificontactwidget
Version 2.1.0
Comparing to
See all releases


Code changes from version 2.0.2 to 2.1.0

app/code/local/Dropifi/Dropificontactwidget/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Dropifi_Dropificontactwidget>
5
- <version>2.0.2</version>
6
  </Dropifi_Dropificontactwidget>
7
  </modules>
8
  <frontend>
@@ -85,4 +85,4 @@
85
  </dropifi_dropificontactwidget_setup>
86
  </resources>
87
  </global>
88
- </config>
2
  <config>
3
  <modules>
4
  <Dropifi_Dropificontactwidget>
5
+ <version>2.1.0</version>
6
  </Dropifi_Dropificontactwidget>
7
  </modules>
8
  <frontend>
85
  </dropifi_dropificontactwidget_setup>
86
  </resources>
87
  </global>
88
+ </config>
app/design/adminhtml/default/default/layout/dropificontactwidget.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <layout version="2.0.2">
3
  <dropificontactwidget_adminhtml_dropifi_index>
4
  <reference name="head">
5
  <action method="addCss"><stylesheet>css/dropificontactwidget/dropificss.css</stylesheet></action>
@@ -8,4 +8,4 @@
8
  <block type="dropificontactwidget/adminhtml_dropifiblock" name="dropifiwidget1" template="dropifi/dropificontactwidget/dropifiwidget.phtml" />
9
  </reference>
10
  </dropificontactwidget_adminhtml_dropifi_index>
11
- </layout>
1
  <?xml version="1.0" encoding="utf-8"?>
2
+ <layout version="2.1.0">
3
  <dropificontactwidget_adminhtml_dropifi_index>
4
  <reference name="head">
5
  <action method="addCss"><stylesheet>css/dropificontactwidget/dropificss.css</stylesheet></action>
8
  <block type="dropificontactwidget/adminhtml_dropifiblock" name="dropifiwidget1" template="dropifi/dropificontactwidget/dropifiwidget.phtml" />
9
  </reference>
10
  </dropificontactwidget_adminhtml_dropifi_index>
11
+ </layout>
app/design/frontend/default/default/layout/dropificontactwidget.xml CHANGED
@@ -1,4 +1,4 @@
1
- <layout version="2.0.2">
2
  <default>
3
  <reference name="head">
4
  <block type="core/template" name="keyforHead" template="dropifi/dropificontactwidget/dropifiwidget.phtml" />
1
+ <layout version="2.1.0">
2
  <default>
3
  <reference name="head">
4
  <block type="core/template" name="keyforHead" template="dropifi/dropificontactwidget/dropifiwidget.phtml" />
app/design/frontend/default/default/template/dropifi/dropificontactwidget/dropifiwidget.phtml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <!--start dropifi --><script type='text/javascript' src='//api.dropifi.com/widget/dropifi_widget.magento.js'></script>
2
+ <script type="text/javascript"><?php $model = Mage::getModel('dropifi_dropificontactwidget/dropificontactwidget')->load(1); $dmpk = $model->getDropifi_pkey();
3
+ if(Mage::helper('core')->isModuleOutputEnabled('Dropifi_Dropificontactwidget')){ ?>document.renderDropifiWidget('<?php echo $dmpk ?>');<?php
4
+ }else{ ?>document.renderDropifiWidget(''); <?php } ?></script><!--end dropifi -->
5
+
6
+
7
+
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Dropifi_Dropificontactwidget</name>
4
- <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -46,8 +46,8 @@ Release: loads very fast and does not interfere with other plugins&#xD;
46
  Release: support for Dropifi contact widget below version 2.0 will be dropped in 2015 so please upgrade. </notes>
47
  <authors><author><name>Effah Mensah</name><user>effah</user><email>philips@dropifi.com</email></author></authors>
48
  <date>2014-12-16</date>
49
- <time>17:27:09</time>
50
- <contents><target name="magelocal"><dir name="Dropifi"><dir name="Dropificontactwidget"><dir name="Block"><dir name="Adminhtml"><file name="Dropifiblock.php" hash="8496274dce13e75f6543a0925e5bf4a9"/></dir><dir name="Html"><file name="Head.php" hash="05aebd206c8211cc246d3defb2ea99b1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="29c56be3badb5136e9b06c05dec6609f"/></dir><dir name="Model"><file name="Dropificontactwidget.php" hash="b533c2d300dc26b0ff2c2bf8ad1d0771"/><dir name="Resource"><dir name="Dropificontactwidget"><file name="Collection.php" hash="c5bbeff5490468d620cfaa8d578a8dc4"/></dir><file name="Dropificontactwidget.php" hash="08492397dc42d03682a0072159bc3171"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DropifiController.php" hash="95ad1a2e6d34b7bf2b8673ca974e3a1b"/></dir></dir><dir name="etc"><file name="config.xml" hash="caa5db7941f20bfe20e96f342660280a"/></dir><dir name="lib"><file name="dropifi_install.php" hash="a60e92ec427c33fe5c18dcb2589d8761"/></dir><dir name="sql"><dir name="dropifi_dropificontactwidget_setup"><file name="install-1.0.0.php" hash="c41536115e1d036df640499717c6a5cc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Dropifi_Dropificontactwidget.xml" hash="bdf74dc5ceafe7dd54cdb6f16d686516"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="dropificontactwidget.xml" hash="862ea8376d3fb4e6c62879ad31ccda14"/></dir><dir name="template"><dir name="dropifi"><dir name="dropificontactwidget"><file name="dropifiwidget.phtml" hash="18892656b58ffde1472116147e762cf7"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="dropificontactwidget.xml" hash="c9bfb4e7eacc11eeabe5d873991c34a1"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="dropificontactwidget"><file name="dropifi_magento.png" hash="5027c63ed0dbb0cd95c8af9614cda745"/></dir></dir></dir></dir></dir></target></contents>
51
  <compatible/>
52
  <dependencies><required><php><min>4.0.0</min><max>7.0.0</max></php></required></dependencies>
53
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Dropifi_Dropificontactwidget</name>
4
+ <version>2.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
46
  Release: support for Dropifi contact widget below version 2.0 will be dropped in 2015 so please upgrade. </notes>
47
  <authors><author><name>Effah Mensah</name><user>effah</user><email>philips@dropifi.com</email></author></authors>
48
  <date>2014-12-16</date>
49
+ <time>18:14:56</time>
50
+ <contents><target name="magelocal"><dir name="Dropifi"><dir name="Dropificontactwidget"><dir name="Block"><dir name="Adminhtml"><file name="Dropifiblock.php" hash="8496274dce13e75f6543a0925e5bf4a9"/></dir><dir name="Html"><file name="Head.php" hash="05aebd206c8211cc246d3defb2ea99b1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="29c56be3badb5136e9b06c05dec6609f"/></dir><dir name="Model"><file name="Dropificontactwidget.php" hash="b533c2d300dc26b0ff2c2bf8ad1d0771"/><dir name="Resource"><dir name="Dropificontactwidget"><file name="Collection.php" hash="c5bbeff5490468d620cfaa8d578a8dc4"/></dir><file name="Dropificontactwidget.php" hash="08492397dc42d03682a0072159bc3171"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DropifiController.php" hash="95ad1a2e6d34b7bf2b8673ca974e3a1b"/></dir></dir><dir name="etc"><file name="config.xml" hash="c82f4796bd3a0b68f7ddfdcfa2c49925"/></dir><dir name="lib"><file name="dropifi_install.php" hash="a60e92ec427c33fe5c18dcb2589d8761"/></dir><dir name="sql"><dir name="dropifi_dropificontactwidget_setup"><file name="install-1.0.0.php" hash="c41536115e1d036df640499717c6a5cc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Dropifi_Dropificontactwidget.xml" hash="bdf74dc5ceafe7dd54cdb6f16d686516"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="dropificontactwidget.xml" hash="9fdccfdfc5adb873aa96c5af8ff93053"/></dir><dir name="template"><dir name="dropifi"><dir name="dropificontactwidget"><file name="dropifiwidget.phtml" hash="18892656b58ffde1472116147e762cf7"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="dropificontactwidget.xml" hash="e657776fd86b75815234c5807dd5aaca"/></dir><dir name="template"><dir name="dropifi"><dir name="dropificontactwidget"><file name="dropifiwidget.phtml" hash="5a31fae7139709ecc9d5bfd144aa506a"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="dropificontactwidget"><file name="dropifi_magento.png" hash="5027c63ed0dbb0cd95c8af9614cda745"/></dir></dir><dir name="css"><dir name="dropificontactwidget"><file name="dropificss.css" hash="56d279ae63d24d36a8fef9db04383527"/></dir></dir></dir></dir></dir></target></contents>
51
  <compatible/>
52
  <dependencies><required><php><min>4.0.0</min><max>7.0.0</max></php></required></dependencies>
53
  </package>
skin/adminhtml/default/default/css/dropificontactwidget/dropificss.css ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .dropifi_signup_form, .dropifi_login_form { font-size: 15px; line-height: 1.4; background-color: #fff000; }
2
+ .dropifi_success_form, .dropifi_response_div{font-family: 20px; background-color: lime;}