Can't do register user at all.
1.st
email while registration
registration.php
line 13
CHtml::errorSummary use model only on first argument
http://www.yiiframework.com/doc/api/1.1/CHtml#errorSummary-detail
I think it should be
<?php.
echo CHtml::errorSummary($form);
echo CHtml::errorSummary($profile);
?>
2nd
registration.php:48
I do not understand the code
elseif ($field->varname == 'email')
{
//Paint it hidden or paint it like a text field, depending of the method of registration.
if(Yum::module()->loginType & UserModule::LOGIN_BY_EMAIL)
echo CHtml::activeHiddenField ($profile, 'email');
else
{
echo CHtml::activeLabelEx($profile, $field->varname);
echo CHtml::activeTextArea($profile, $field->varname, array('rows'=>6, 'cols'=>50));
}
why email is textArea?
and next
YumRegistrationController.php:60
if (isset($_POST['YumUser']) && isset($_POST['YumProfile']))
but registration form returns only 'YumUser' and 'YumRegistrationForm'
Get: { }
Post:
YumRegistrationForm:
username: 'Mashastic'
password: 'Mashastic'
verifyPassword: 'Mashastic'
verifyCode: 'qixeta'
YumProfile:
email: 'Mashastic@ss.com'
firstname: 'Mashastic'
lastname: 'Mashastic'
yt1: 'Регистрация'
Original issue reported on code.google.com by uprs...@gmail.com on 30 Jan 2011 at 8:52
Original issue reported on code.google.com by
uprs...@gmail.com
on 30 Jan 2011 at 8:52