[EXTENSION] customizing Yii-user selection dependent profile fields
Posted 23 March 2012 - 09:34 AM
I do have general understanding of Yii of course.
I installed the Yii-user extension and I want to customize it the following way:
When the user is registering I want to display a radio button (or drop down list) with the options *register person* and *register company* and depending on the choice different profile tables would be used.
For register person
tbl_profiles and tbl_profiles_fields
For register business
rbl_business_profiles and tbl_business_profile_fields
So when someone chooses the register business choice the fields from the business_profiles_fields would become visible instead of the ones in profiles_fields. Update operations should only work on the tables that were chosen when the user was registered.
Some hints on what files I should change and how would be much appreciated.
Thanks in advance.
Posted 23 March 2012 - 01:00 PM
YiiFramework en Español - http://yiiframework.co/ - http://yiiframeworkenespanol.org/ - Yii Code Generator for Bootstrap
http://obregon.co/ - https://1server.co/
PHP 5.5+, nginx 1.4, MySQL(MariaDB & PerconaDB), PostgreSQL 9, Yii 2.0-dev.
Follow me: @robregonm & @obregonco & @1ServerCo.
Posted 26 August 2013 - 04:52 AM
I am Yii-user extension and i wanted to change my registration form changed, mean to change fields on the registration form,
Please reply @ this link,