anakati Posted June 16, 2010 Share Posted June 16, 2010 Bonjour a tous,je cherche a rajouter un champ image lors de la creation d'une categories.J'ai pour l'instant rajouter sur Admincategorie le code suivant: '.$this->l('Image2:').' '; echo $this->displayImage($obj->id, _PS_IMG_DIR_.'c/'.$obj->id.'.jpg', 350, NULL, Tools::getAdminToken('AdminCatalog'.intval(Tab::getIdFromClassName('AdminCatalog')).intval($cookie->id_employee))); echo ' <input type="file" name="image2" /> '.$this->l('Upload category logo from your computer').' Sur la base de donner j'ai rajouter un champ ps_image2.Est ce que l'image des categories vont bien sur ps_image et dans quel fichier se passe l'INSERT.Merci beaucoup,F. 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