spawns Posted May 14, 2012 Share Posted May 14, 2012 Slt à tous, j'aurais besoin d'afficher la civilité dans le blockuserinfo mais je ne trouve pas la variable à utiliser. j'ai trouver un id_gender mais cela ne fonctionne pas. Qql'un a une idée ??? Cordialement Link to comment Share on other sites More sharing options...
spawns Posted May 18, 2012 Author Share Posted May 18, 2012 Personne pour un coup de main ???? je voudrais afficher juste le nom sans le prénom. Link to comment Share on other sites More sharing options...
belew Posted May 18, 2012 Share Posted May 18, 2012 Salut Inscrit toi en tant que client regarde dans la table ps_customer, tu vois a quoi correspond id_gender MR ou MME tu assignes ça dans ton controller est en smarty tu fais : {if $genre==1}MR{/if} {if $genre==2}Mme{/if} Link to comment Share on other sites More sharing options...
spawns Posted May 22, 2012 Author Share Posted May 22, 2012 Slt est merci de m'avoir répondu, par contre dans quel contrôleur et comment dois je assigner cela ? Merci 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