navlaca Posted June 14, 2011 Share Posted June 14, 2011 Bonjour, j'aimerais rendre les zones "téléphone" optionnelles dans les formulaires de création et de changement d'identité. Comment faire? Merci pour votre aide Link to comment Share on other sites More sharing options...
navlaca Posted June 14, 2011 Author Share Posted June 14, 2011 J'ai trouvé la solution dans une autre rubrique du forum. La voici:/controllers/AuthController.php/controllers/AddressController.php il faut commenter ces lignes :/*if (!Tools::getValue(‘phone’) AND !Tools::getValue(‘phone_mobile’)) $this->errors[] = Tools::displayError(‘You must register at least one phone number’); * Link to comment Share on other sites More sharing options...
MayMo design Posted June 14, 2011 Share Posted June 14, 2011 tu l'a utiliser est ça marche ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now