chamilo-lms
chamilo-lms copied to clipboard
How to add custom extra fields in registration page
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Additional context Add any other context or screenshots about the feature request here.
You have to use the followings configuration settings in app/config/configuration.php
// Only shows the fields in this list
/*$_configuration['allow_fields_inscription'] = [
'fields' => [
'official_code',
'phone',
'status',
'language'
],
'extra_fields' => [
'birthday'
]
];*/
// Set extra fields as required in the inscription.php page
/*$_configuration['required_extra_fields_in_inscription'] = [
'options' => [
'terms_ville',
'terms_paysresidence',
],
];*/
uncomment the configuration and adapt it to your needs.
Best regards
In app/config I don't see configuration.php
I can see config.yml, config_dev.yml, vonfig_prod.yml etc
Or should I add configuration.php file?