thyseus / yii-user-management

a user management module collection for the yii framework
185 stars 122 forks source link

DROPDOWNLIST in profile_field #29

Closed unknownFrequency closed 12 years ago

unknownFrequency commented 12 years ago

If i try to add a field to table profile_field and and set field_type = DROPDOWNLIST I get error: include(Country_id.php) [function.include]: failed to open stream: No such file or directory

It is triggered from /profile/_form.php:

23 else if($field->field_type == "DROPDOWNLIST") { 24 echo CHtml::activeDropDownList($profile, 25 $field->varname, 26 CHtml::listData(CActiveRecord::model(ucfirst($field->varname))->findAll(),

thyseus commented 12 years ago

thanks for mentioning, the DROPDOWNLIST is deprecated. If one wants a dropdownlist in his/her registration page, he can override the YumRegistrationController and use his own views/.

I try to remove the remains of DROPDOWNLIST in the repository.

thanks for reporting.