Version Notes
If there is jQuery problem by another module what implement jquery, please visit the settings page of this module.
Download this release
Release Info
Developer | David Belicza |
Extension | Youama_Ajaxlogin |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
app/code/community/Youama/Ajaxlogin/Model/Ajaxregister.php
CHANGED
@@ -84,6 +84,9 @@ class Youama_Ajaxlogin_Model_Ajaxregister extends Youama_Ajaxlogin_Model_Validat
|
|
84 |
$customer->setConfirmation(null);
|
85 |
$customer->save();
|
86 |
|
|
|
|
|
|
|
87 |
Mage::getSingleton('customer/session')->loginById($customer->getId());
|
88 |
|
89 |
$this->_userId = $customer->getId();
|
84 |
$customer->setConfirmation(null);
|
85 |
$customer->save();
|
86 |
|
87 |
+
$storeId = $customer->getSendemailStoreId();
|
88 |
+
$customer->sendNewAccountEmail('registered', '', $storeId);
|
89 |
+
|
90 |
Mage::getSingleton('customer/session')->loginById($customer->getId());
|
91 |
|
92 |
$this->_userId = $customer->getId();
|
app/code/community/Youama/Ajaxlogin/etc/config.xml
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<config>
|
33 |
<modules>
|
34 |
<Youama_Ajaxlogin>
|
35 |
-
<version>1.0</version>
|
36 |
</Youama_Ajaxlogin>
|
37 |
</modules>
|
38 |
<global>
|
32 |
<config>
|
33 |
<modules>
|
34 |
<Youama_Ajaxlogin>
|
35 |
+
<version>1.0.2</version>
|
36 |
</Youama_Ajaxlogin>
|
37 |
</modules>
|
38 |
<global>
|
app/design/frontend/base/default/template/youama/ajaxlogin/ajaxlogin.phtml
CHANGED
@@ -204,7 +204,7 @@
|
|
204 |
}
|
205 |
|
206 |
function openCloseWindowEvents(){
|
207 |
-
if (opts.autoShowUp == 'yes'){
|
208 |
animateShowWindow('login');
|
209 |
}
|
210 |
|
@@ -240,6 +240,19 @@
|
|
240 |
return false;
|
241 |
});
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
$('.youama-login-window button').live('click', function(){
|
244 |
setDatas('login');
|
245 |
validateDatas('login');
|
204 |
}
|
205 |
|
206 |
function openCloseWindowEvents(){
|
207 |
+
if (opts.autoShowUp == 'yes' && $('.messages').css('display') != 'block'){
|
208 |
animateShowWindow('login');
|
209 |
}
|
210 |
|
240 |
return false;
|
241 |
});
|
242 |
|
243 |
+
$(document).keypress(function(e) {
|
244 |
+
if(e.which == 13 && $('.youama-login-window').css('display') == 'block') {
|
245 |
+
setDatas('login');
|
246 |
+
validateDatas('login');
|
247 |
+
if (opts.errors != ''){
|
248 |
+
setError(opts.errors, 'login');
|
249 |
+
}
|
250 |
+
else{
|
251 |
+
callAjaxControllerLogin();
|
252 |
+
}
|
253 |
+
}
|
254 |
+
});
|
255 |
+
|
256 |
$('.youama-login-window button').live('click', function(){
|
257 |
setDatas('login');
|
258 |
validateDatas('login');
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Youama_Ajaxlogin</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL) </license>
|
7 |
<channel>community</channel>
|
@@ -14,9 +14,9 @@ Youama_Ajaxlogin generate two popup windows what allow login and registration. R
|
|
14 |
This module has setting page: System -> Configuration -> Youama -> Ajax Login and Register</description>
|
15 |
<notes>If there is jQuery problem by another module what implement jquery, please visit the settings page of this module.</notes>
|
16 |
<authors><author><name>David Belicza</name><user>DoveID</user><email>87.bdavid@gmail.com</email></author></authors>
|
17 |
-
<date>2013-
|
18 |
-
<time>17:
|
19 |
-
<contents><target name="magecommunity"><dir name="Youama"><dir name="Ajaxlogin"><dir name="Block"><file name="Ajaxlogin.php" hash="37ab304d1ee23a72b1406fc481eca278"/></dir><dir name="Model"><file name="Ajaxlogin.php" hash="b3d8dd033738b8501ca082ad2f82e1e7"/><file name="Ajaxregister.php" hash="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.1.0</min><max>5.4.11</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Youama_Ajaxlogin</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL) </license>
|
7 |
<channel>community</channel>
|
14 |
This module has setting page: System -> Configuration -> Youama -> Ajax Login and Register</description>
|
15 |
<notes>If there is jQuery problem by another module what implement jquery, please visit the settings page of this module.</notes>
|
16 |
<authors><author><name>David Belicza</name><user>DoveID</user><email>87.bdavid@gmail.com</email></author></authors>
|
17 |
+
<date>2013-02-15</date>
|
18 |
+
<time>17:20:57</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="Youama"><dir name="Ajaxlogin"><dir name="Block"><file name="Ajaxlogin.php" hash="37ab304d1ee23a72b1406fc481eca278"/></dir><dir name="Model"><file name="Ajaxlogin.php" hash="b3d8dd033738b8501ca082ad2f82e1e7"/><file name="Ajaxregister.php" hash="1276efb09d6ef0a2ea103db2f66327b0"/><file name="Validator.php" hash="ed5ee08a3b5d3a261324e35e030226f1"/></dir><dir name="controllers"><file name="AccountController.php" hash="52b8e063c806b0a720022405d195ac72"/><file name="AjaxController.php" hash="23a41b4a8bdc50f9031d424bdceb0a98"/></dir><dir name="etc"><file name="adminhtml.xml" hash="34bf8f06b34fe4732fd1e10333962317"/><file name="config.xml" hash="c1a7359046917bf86bb0480128cf2a5c"/><file name="system.xml" hash="f43893678f2e06f66dabce8903b91551"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Youama_Ajaxlogin.xml" hash="5bc2c0f50acb673409b4083e8ec5abe6"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="youama_ajaxlogin.xml" hash="13ce88e918455eb6ebc0d587fb396288"/></dir><dir name="template"><dir name="youama"><dir name="ajaxlogin"><file name="ajaxlogin.phtml" hash="144242cb186924b3b847d237a49b07e6"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="youama"><dir name="ajaxlogin"><file name="jquery-1-7-1.js" hash="2c57990a020cc3a35c4a603413d67a28"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="youama"><dir name="ajaxlogin"><file name="ajaxlogin.css" hash="d533e51d65bf0b5d03f5844f5e343f18"/></dir></dir></dir><dir name="images"><dir name="youama"><dir name="ajaxlogin"><file name="loader.gif" hash="c69d6a1798abc0839f3a2f6fee78ad7d"/></dir></dir></dir></dir></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.1.0</min><max>5.4.11</max></php></required></dependencies>
|
22 |
</package>
|