LtKassad Posted February 19, 2013 Share Posted February 19, 2013 (edited) Bonjour, Je suis surpris de ne pas voir dans le formulaire de Mon compte > Mes Informations personnelles (dans identity.tpl) les champs de l'entreprise (nom, siret ...etc) permettant de modifier ces informations. C'est "normal" ? je suis passé à côté d'un truc ? Merci. Edited February 19, 2013 by LtKassad (see edit history) Link to comment Share on other sites More sharing options...
LtKassad Posted February 19, 2013 Author Share Posted February 19, 2013 (edited) Bon ben effectivement dans identity.tpl on ne retrouve pas les champs nécessaires. Mais si on rajoute au formulaire simplement cette petite portion de code, ça fonctionne directement : {if $b2b_enable} <fieldset class="account_creation"> <h3>{l s='Your company information'}</h3> <p class="text"> <label for="">{l s='Company'}</label> <input type="text" class="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" /> </p> <p class="text"> <label for="siret">{l s='SIRET'}</label> <input type="text" class="text" id="siret" name="siret" value="{if isset($smarty.post.siret)}{$smarty.post.siret}{/if}" /> </p> <p class="text"> <label for="ape">{l s='APE'}</label> <input type="text" class="text" id="ape" name="ape" value="{if isset($smarty.post.ape)}{$smarty.post.ape}{/if}" /> </p> <p class="text"> <label for="website">{l s='Website'}</label> <input type="text" class="text" id="website" name="website" value="{if isset($smarty.post.website)}{$smarty.post.website}{/if}" /> </p> </fieldset> {/if} Edited February 19, 2013 by LtKassad (see edit history) 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