DigitalPianism_AjaxLogin - Version 0.2.6

Version Notes

- Fix a bug where customer registration would not work on Magento <= 1.9.0.1

Download this release

Release Info

Developer Digital Pianism
Extension DigitalPianism_AjaxLogin
Version 0.2.6
Comparing to
See all releases


Code changes from version 0.2.5 to 0.2.6

app/code/community/DigitalPianism/AjaxLogin/controllers/IndexController.php CHANGED
@@ -58,7 +58,15 @@ class DigitalPianism_AjaxLogin_IndexController extends Mage_Core_Controller_Fron
58
  } else {
59
  $customerForm->compactData($customerData);
60
  $customer->setPassword($request->getPost('password'));
61
- $customer->setPasswordConfirmation($request->getPost('confirmation'));
 
 
 
 
 
 
 
 
62
  $customerErrors = $customer->validate();
63
  if (is_array($customerErrors)) {
64
  $errors = array_merge($customerErrors, $errors);
58
  } else {
59
  $customerForm->compactData($customerData);
60
  $customer->setPassword($request->getPost('password'));
61
+ // Password confirmation field name has changed since 1.9.1.0
62
+ if (version_compare(Mage::getVersion(),"1.9.1.0",">="))
63
+ {
64
+ $customer->setPasswordConfirmation($request->getPost('confirmation'));
65
+ }
66
+ else
67
+ {
68
+ $customer->setConfirmation($request->getPost('confirmation'));
69
+ }
70
  $customerErrors = $customer->validate();
71
  if (is_array($customerErrors)) {
72
  $errors = array_merge($customerErrors, $errors);
app/code/community/DigitalPianism/AjaxLogin/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <DigitalPianism_AjaxLogin>
5
- <version>0.2.5</version>
6
  </DigitalPianism_AjaxLogin>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <DigitalPianism_AjaxLogin>
5
+ <version>0.2.6</version>
6
  </DigitalPianism_AjaxLogin>
7
  </modules>
8
  <global>
app/design/frontend/base/default/template/digitalpianism/ajaxlogin/register.phtml CHANGED
@@ -132,7 +132,9 @@
132
  </div>
133
  </li>
134
  <?php echo $this->getChildHtml('form.additional.info'); ?>
 
135
  </ul>
 
136
  </div>
137
  <div class="buttons-set">
138
  <div class="progress-indicator">
132
  </div>
133
  </li>
134
  <?php echo $this->getChildHtml('form.additional.info'); ?>
135
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
136
  </ul>
137
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
138
  </div>
139
  <div class="buttons-set">
140
  <div class="progress-indicator">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_AjaxLogin</name>
4
- <version>0.2.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -20,13 +20,11 @@
20
  &lt;p&gt;The module is enabled by default but you can disable it here if you need to.&lt;/p&gt;&#xD;
21
  &#xD;
22
  </description>
23
- <notes>- Fix a bug where customer registration would not work on Magento &lt; 1.9.1.0&#xD;
24
- - Add missing _getUrl to the controller&#xD;
25
- - Add the popup to the my account link when customer is not logged in</notes>
26
  <authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
27
- <date>2016-01-26</date>
28
- <time>09:56:21</time>
29
- <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="AjaxLogin"><dir name="Helper"><file name="Data.php" hash="1a04218d84eb0ad89d072f421cc2f993"/></dir><dir name="controllers"><file name="IndexController.php" hash="f85f5a0b348baa8038ab0b25ca127a52"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2569f90cd6868d15e41f4788c61e7638"/><file name="config.xml" hash="20d98eae21d8f5de4e8d3c6e42bfc5a5"/><file name="system.xml" hash="71c81e7c67e405512bb5ed0729bfa2de"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_AjaxLogin.xml" hash="ff28627543caa7543c763f21ef4a5683"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="index.phtml" hash="f081c58c74c574160592d8b696cfff08"/><file name="register.phtml" hash="9bce53ee7baf52e74142ec8e4acdfca4"/></dir></dir></dir><dir name="layout"><dir name="digitalpianism"><file name="ajaxlogin.xml" hash="f00c699d92c9ae98ffb6da11e3059f67"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="styles.css" hash="8a7f560e5041e52904858828acf378e9"/></dir></dir></dir><dir name="images"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="ajax-loader.gif" hash="b256d80f54c1415d7a6a6fdec39769f4"/><file name="box-content-bg.gif" hash="f5344140a3a9ad4267687b8ec40c5751"/><file name="box-header-bg.gif" hash="e1e109e8f6bfc2f2ccef04769553c60c"/><file name="cancel_round.png" hash="afcb08c1bdcdb7f9922ea289906fdfbf"/><file name="close.png" hash="0aa9c71e1e00deb929514c3b004e30c2"/><file name="shd-medium.png" hash="ed62cea276345a5003a4a6c6f47c1071"/><file name="spinner.gif" hash="73e57937304d89f251e7e540a24b095a"/></dir></dir></dir><dir name="js"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="script.js" hash="f8c7f4beb9d2890e03b12a27e0a9cb00"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="DigitalPianism_AjaxLogin.csv" hash="6eb7c029c2d98c59b574889e8380ccc2"/></dir><dir name="en_US"><file name="DigitalPianism_AjaxLogin.csv" hash="fd8a1490469491f382a9e0463e3de38b"/></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_AjaxLogin</name>
4
+ <version>0.2.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
20
  &lt;p&gt;The module is enabled by default but you can disable it here if you need to.&lt;/p&gt;&#xD;
21
  &#xD;
22
  </description>
23
+ <notes>- Fix a bug where customer registration would not work on Magento &lt;= 1.9.0.1</notes>
 
 
24
  <authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
25
+ <date>2016-03-08</date>
26
+ <time>14:42:41</time>
27
+ <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="AjaxLogin"><dir name="Helper"><file name="Data.php" hash="1a04218d84eb0ad89d072f421cc2f993"/></dir><dir name="controllers"><file name="IndexController.php" hash="97e295a5ae7d5af4db22085dc4dda5a1"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2569f90cd6868d15e41f4788c61e7638"/><file name="config.xml" hash="82d635432f9a436990114d915661feeb"/><file name="system.xml" hash="71c81e7c67e405512bb5ed0729bfa2de"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_AjaxLogin.xml" hash="ff28627543caa7543c763f21ef4a5683"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="index.phtml" hash="f081c58c74c574160592d8b696cfff08"/><file name="register.phtml" hash="94552ee6972d6603d67f00d853099249"/></dir></dir></dir><dir name="layout"><dir name="digitalpianism"><file name="ajaxlogin.xml" hash="f00c699d92c9ae98ffb6da11e3059f67"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="styles.css" hash="8a7f560e5041e52904858828acf378e9"/></dir></dir></dir><dir name="images"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="ajax-loader.gif" hash="b256d80f54c1415d7a6a6fdec39769f4"/><file name="box-content-bg.gif" hash="f5344140a3a9ad4267687b8ec40c5751"/><file name="box-header-bg.gif" hash="e1e109e8f6bfc2f2ccef04769553c60c"/><file name="cancel_round.png" hash="afcb08c1bdcdb7f9922ea289906fdfbf"/><file name="close.png" hash="0aa9c71e1e00deb929514c3b004e30c2"/><file name="shd-medium.png" hash="ed62cea276345a5003a4a6c6f47c1071"/><file name="spinner.gif" hash="73e57937304d89f251e7e540a24b095a"/></dir></dir></dir><dir name="js"><dir name="digitalpianism"><dir name="ajaxlogin"><file name="script.js" hash="f8c7f4beb9d2890e03b12a27e0a9cb00"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="DigitalPianism_AjaxLogin.csv" hash="6eb7c029c2d98c59b574889e8380ccc2"/></dir><dir name="en_US"><file name="DigitalPianism_AjaxLogin.csv" hash="fd8a1490469491f382a9e0463e3de38b"/></dir></target></contents>
28
  <compatible/>
29
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
30
  </package>