ItemStyle Posted January 12, 2009 Share Posted January 12, 2009 Bonjour,Je souhaiterai ajouter un champs supplémentaire relatif aux infos de la société.J'ai donc ajouté :1/ mon champs dans le formulaire2/ ajouter dans la classe Adress les propriétés de mon champs3/ insérer une nouvelle colonne à la table ps_adressQu'est ce que je dois faire encore pour que ca soit pris en compte dans ma table ?Dans le fichier authenfication.php je vois Module::hookExec('createAccount', array( '_POST' => $_POST, 'newCustomer' => $customer ))Il est où le module createAccount, je ne le vois pas, merci de m'aider Link to comment Share on other sites More sharing options...
ItemStyle Posted January 12, 2009 Author Share Posted January 12, 2009 C'est ok j'ai pu mettre à jour mon champs mais j'aimerai qu'il soit possible aussi de prendre en compte ce nouveau champs dans l'admin commande :index.php?id_order=2&vieworder&tab;=AdminAddresses&id_address=8&addaddress&realedit;=1Où se trouve les fichiers (template ? ) relatif à cette adresse ? Link to comment Share on other sites More sharing options...
Rémi Gaillard Posted January 12, 2009 Share Posted January 12, 2009 Dans le fichier authenfication.php je vois Module::hookExec('createAccount', array( '_POST' => $_POST, 'newCustomer' => $customer ))Il est où le module createAccount, je ne le vois pas, merci de m'aider :) Il n'y a pas de module createAccount, hookExec sert à executer tous les modules qui sont gréffés sur le hook passé en argument(createAccount) dans ce cas. Link to comment Share on other sites More sharing options...
ItemStyle Posted January 12, 2009 Author Share Posted January 12, 2009 Très bien merci, et les modules qui sont greffés comment je peux connaitre leur noms, leur dependances ? Link to comment Share on other sites More sharing options...
Rémi Gaillard Posted January 12, 2009 Share Posted January 12, 2009 Sur le tab AdminModulesPositions du backoffice. Link to comment Share on other sites More sharing options...
ItemStyle Posted January 12, 2009 Author Share Posted January 12, 2009 Pour le coups je dois regarder quoi là comme module pour savoir quels fichiers sont dépendants à mon nouveau champs du compte client ? Link to comment Share on other sites More sharing options...
ItemStyle Posted January 12, 2009 Author Share Posted January 12, 2009 Est ce quelqu'un pourrait m'indiquer les fichiers à modifier lors d'un champs ajouté au compte client, est-ce possible ? Link to comment Share on other sites More sharing options...
ItemStyle Posted January 12, 2009 Author Share Posted January 12, 2009 C'est ok, j'ai trouvé, il suffisait d'aller chercher les fichiers admin que je trouvais pas ...Pour ceux que ca interèsse ajouter un champ Tva intracommunautaire au compte client :- themes/address.tpl- themes/authentication.tpl- classes/Address.php- tabs/AdminAddresses.php Link to comment Share on other sites More sharing options...
ItemStyle Posted January 14, 2009 Author Share Posted January 14, 2009 Bon voilà c'est fait, tva intracommunautaire ajouté Les fichiers modifiés :HACK MODIFICATION POUR TVA INTRACOMMUNAUTAIRE > ZONE ID 1 europe FACTURATION HT :HACK > classes/tax.phpHACK > classes/pdf.phpHACK > classes/address.phpHACK > tabs/AdminAddressesHACK > thèmes/Address.tplHACK > thèmes/product.tplHACK > thèmes/product.tplHACK > tabs/AdminContactHACK > thèmes/authentification.tplHACK > modules/blockcart/blockcart.phpHACK > modules/blockcart/blockcart.tpl Link to comment Share on other sites More sharing options...
moudib Posted August 16, 2009 Share Posted August 16, 2009 Vous pouvez mettre les fichiers modifiés, ou des explications de ce qui a changé. 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