wariorz Posted May 8, 2012 Share Posted May 8, 2012 Bonjour, après avoir télécharger le block2ndcategories je l'ai installé sur la version de presta 1.4.4.1, celui-ci fonctionne parfaitement! Maintenant, je souhaites dupliquer celui-ci afin d'avoir black3ecategories. j'ai changé: block2ndcategories.php en blokc3ecategories.php block2ndcategories.tpl en block3ecategories.tpl 2ndcategories.class.php en 3ecategories.class.php dans le fichier blokc3ecategories.php Line 2: include _PS_MODULE_DIR_.'block2ndcategories/2ndcategories.class.php'; Line 3: class block2ndcategories extends Module Line 13: $this->name = 'block2ndcategories'; Line 544: return $this->display(__FILE__, 'block2ndcategories.tpl'); et $this->displayName = $this->l('2nd Category Bloc'); $this->description = $this->l('Add a second Category Bloc'); par $this->displayName = $this->l('3e Category Bloc'); $this->description = $this->l('Add a 3e Category Bloc'); par Line 2: include _PS_MODULE_DIR_.'block3ecategories/3ecategories.class.php'; Line 3: class block3ecategories extends Module Line 13: $this->name = 'block3ecategories'; Line 544: return $this->display(__FILE__, 'block3ecategories.tpl'); dans le fichier fr.php Line 5: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_305ffebcfc5e5cc2013dd66111c3e24c'] = '2nd Block Catégories'; Line 5: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_305ffebcfc5e5cc2013dd66111c3e24c'] = '2nd Block Catégories'; Line 6: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_f01f0ad5a948539bb552b962d2bc8cb6'] = 'Ajouter un second bloc catégorie'; Line 6: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_f01f0ad5a948539bb552b962d2bc8cb6'] = 'Ajouter un second bloc catégorie'; Line 7: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_597582c140dd691b522fe42299a24d34'] = 'mise à jour'; Line 7: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_597582c140dd691b522fe42299a24d34'] = 'mise à jour'; Line 8: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_11ad009c1b7c0615be18fe91185c179a'] = 'Le lien a été ajouté'; Line 8: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_11ad009c1b7c0615be18fe91185c179a'] = 'Le lien a été ajouté'; Line 9: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_15772d25000bce9fc3a2a2fd7d41a717'] = 'Le lien a été supprimé'; Line 9: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_15772d25000bce9fc3a2a2fd7d41a717'] = 'Le lien a été supprimé'; Line 10: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; Line 10: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; Line 11: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_706bebc78ad992a07e4c1ce0f39def81'] = 'pas d\'image'; Line 11: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_706bebc78ad992a07e4c1ce0f39def81'] = 'pas d\'image'; Line 12: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_8c38cf08a0d0a01bd44c682479432350'] = 'Changer l\'image'; Line 12: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_8c38cf08a0d0a01bd44c682479432350'] = 'Changer l\'image'; Line 13: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_f37ce582629980c42ec7dba12ae2ebc8'] = 'Largeur max recommandée : 190 px'; Line 13: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_f37ce582629980c42ec7dba12ae2ebc8'] = 'Largeur max recommandée : 190 px'; Line 14: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_6eb786e2a332517252f2b0135ef74093'] = 'Activer l\'affichage de l\'image'; Line 14: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_6eb786e2a332517252f2b0135ef74093'] = 'Activer l\'affichage de l\'image'; Line 15: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_b22c8f9ad7db023c548c3b8e846cb169'] = 'Titre du Block'; Line 15: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_b22c8f9ad7db023c548c3b8e846cb169'] = 'Titre du Block'; Line 16: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; Line 16: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; Line 17: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_f4f70727dc34561dfde1a3c529b6205c'] = 'Réglages'; Line 17: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_f4f70727dc34561dfde1a3c529b6205c'] = 'Réglages'; Line 18: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_1063e38cb53d94d386f21227fcd84717'] = 'Supprimer'; Line 18: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_1063e38cb53d94d386f21227fcd84717'] = 'Supprimer'; Line 19: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; Line 19: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; Line 20: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_c436854b135c3dd00ab95b2d4344b0ed'] = 'Sauvegarder'; Line 20: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_c436854b135c3dd00ab95b2d4344b0ed'] = 'Sauvegarder'; Line 21: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_9f1b01ac44ff287d5b8ed20ec8ee180b'] = 'Ajouter un lien au menu'; Line 21: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_9f1b01ac44ff287d5b8ed20ec8ee180b'] = 'Ajouter un lien au menu'; Line 22: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_97e7c9a7d06eac006a28bf05467fcc8b'] = 'lien'; Line 22: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_97e7c9a7d06eac006a28bf05467fcc8b'] = 'lien'; Line 23: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_7a115fe2bd8b94ead1550a2da953cf87'] = 'Nouvelle fenêtre'; Line 23: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_7a115fe2bd8b94ead1550a2da953cf87'] = 'Nouvelle fenêtre'; Line 24: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_19488f2956dc859eb635dbb0deaa15e1'] = 'Ajouter'; Line 24: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_19488f2956dc859eb635dbb0deaa15e1'] = 'Ajouter'; Line 25: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_efaeba65c6e6ece8c580d2e1eb176f3b'] = 'Ajouter une image'; Line 25: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_efaeba65c6e6ece8c580d2e1eb176f3b'] = 'Ajouter une image'; Line 26: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_814579fdad9baf2cdcac456468265384'] = 'Liste des liens'; Line 26: $_MODULE['<{block2ndcategories}prestashop>block2ndcategories_814579fdad9baf2cdcac456468265384'] = 'Liste des liens'; par Line 5: $_MODULE['<{block3ecategories}prestashop>block3ecategories_305ffebcfc5e5cc2013dd66111c3e24c'] = '3e Block Catégories'; Line 5: $_MODULE['<{block3ecategories}prestashop>block3ecategories_305ffebcfc5e5cc2013dd66111c3e24c'] = '3e Block Catégories'; Line 6: $_MODULE['<{block3ecategories}prestashop>block3ecategories_f01f0ad5a948539bb552b962d2bc8cb6'] = 'Ajouter un second bloc catégorie'; Line 6: $_MODULE['<{block3ecategories}prestashop>block3ecategories_f01f0ad5a948539bb552b962d2bc8cb6'] = 'Ajouter un second bloc catégorie'; Line 7: $_MODULE['<{block3ecategories}prestashop>block3ecategories_597582c140dd691b522fe42299a24d34'] = 'mise à jour'; Line 7: $_MODULE['<{block3ecategories}prestashop>block3ecategories_597582c140dd691b522fe42299a24d34'] = 'mise à jour'; Line 8: $_MODULE['<{block3ecategories}prestashop>block3ecategories_11ad009c1b7c0615be18fe91185c179a'] = 'Le lien a été ajouté'; Line 8: $_MODULE['<{block3ecategories}prestashop>block3ecategories_11ad009c1b7c0615be18fe91185c179a'] = 'Le lien a été ajouté'; Line 9: $_MODULE['<{block3ecategories}prestashop>block3ecategories_15772d25000bce9fc3a2a2fd7d41a717'] = 'Le lien a été supprimé'; Line 9: $_MODULE['<{block3ecategories}prestashop>block3ecategories_15772d25000bce9fc3a2a2fd7d41a717'] = 'Le lien a été supprimé'; Line 10: $_MODULE['<{block3ecategories}prestashop>block3ecategories_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; Line 10: $_MODULE['<{block3ecategories}prestashop>block3ecategories_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; Line 11: $_MODULE['<{block3ecategories}prestashop>block3ecategories_706bebc78ad992a07e4c1ce0f39def81'] = 'pas d\'image'; Line 11: $_MODULE['<{block3ecategories}prestashop>block3ecategories_706bebc78ad992a07e4c1ce0f39def81'] = 'pas d\'image'; Line 12: $_MODULE['<{block3ecategories}prestashop>block3ecategories_8c38cf08a0d0a01bd44c682479432350'] = 'Changer l\'image'; Line 12: $_MODULE['<{block3ecategories}prestashop>block3ecategories_8c38cf08a0d0a01bd44c682479432350'] = 'Changer l\'image'; Line 13: $_MODULE['<{block3ecategories}prestashop>block3ecategories_f37ce582629980c42ec7dba12ae2ebc8'] = 'Largeur max recommandée : 190 px'; Line 13: $_MODULE['<{block3ecategories}prestashop>block3ecategories_f37ce582629980c42ec7dba12ae2ebc8'] = 'Largeur max recommandée : 190 px'; Line 14: $_MODULE['<{block3ecategories}prestashop>block3ecategories_6eb786e2a332517252f2b0135ef74093'] = 'Activer l\'affichage de l\'image'; Line 14: $_MODULE['<{block3ecategories}prestashop>block3ecategories_6eb786e2a332517252f2b0135ef74093'] = 'Activer l\'affichage de l\'image'; Line 15: $_MODULE['<{block3ecategories}prestashop>block3ecategories_b22c8f9ad7db023c548c3b8e846cb169'] = 'Titre du Block'; Line 15: $_MODULE['<{block3ecategories}prestashop>block3ecategories_b22c8f9ad7db023c548c3b8e846cb169'] = 'Titre du Block'; Line 16: $_MODULE['<{block3ecategories}prestashop>block3ecategories_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; Line 16: $_MODULE['<{block3ecategories}prestashop>block3ecategories_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; Line 17: $_MODULE['<{block3ecategories}prestashop>block3ecategories_f4f70727dc34561dfde1a3c529b6205c'] = 'Réglages'; Line 17: $_MODULE['<{block3ecategories}prestashop>block3ecategories_f4f70727dc34561dfde1a3c529b6205c'] = 'Réglages'; Line 18: $_MODULE['<{block3ecategories}prestashop>block3ecategories_1063e38cb53d94d386f21227fcd84717'] = 'Supprimer'; Line 18: $_MODULE['<{block3ecategories}prestashop>block3ecategories_1063e38cb53d94d386f21227fcd84717'] = 'Supprimer'; Line 19: $_MODULE['<{block3ecategories}prestashop>block3ecategories_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; Line 19: $_MODULE['<{block3ecategories}prestashop>block3ecategories_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; Line 20: $_MODULE['<{block3ecategories}prestashop>block3ecategories_c436854b135c3dd00ab95b2d4344b0ed'] = 'Sauvegarder'; Line 20: $_MODULE['<{block3ecategories}prestashop>block3ecategories_c436854b135c3dd00ab95b2d4344b0ed'] = 'Sauvegarder'; Line 21: $_MODULE['<{block3ecategories}prestashop>block3ecategories_9f1b01ac44ff287d5b8ed20ec8ee180b'] = 'Ajouter un lien au menu'; Line 21: $_MODULE['<{block3ecategories}prestashop>block3ecategories_9f1b01ac44ff287d5b8ed20ec8ee180b'] = 'Ajouter un lien au menu'; Line 22: $_MODULE['<{block3ecategories}prestashop>block3ecategories_97e7c9a7d06eac006a28bf05467fcc8b'] = 'lien'; Line 22: $_MODULE['<{block3ecategories}prestashop>block3ecategories_97e7c9a7d06eac006a28bf05467fcc8b'] = 'lien'; Line 23: $_MODULE['<{block3ecategories}prestashop>block3ecategories_7a115fe2bd8b94ead1550a2da953cf87'] = 'Nouvelle fenêtre'; Line 23: $_MODULE['<{block3ecategories}prestashop>block3ecategories_7a115fe2bd8b94ead1550a2da953cf87'] = 'Nouvelle fenêtre'; Line 24: $_MODULE['<{block3ecategories}prestashop>block3ecategories_19488f2956dc859eb635dbb0deaa15e1'] = 'Ajouter'; Line 24: $_MODULE['<{block3ecategories}prestashop>block3ecategories_19488f2956dc859eb635dbb0deaa15e1'] = 'Ajouter'; Line 25: $_MODULE['<{block3ecategories}prestashop>block3ecategories_efaeba65c6e6ece8c580d2e1eb176f3b'] = 'Ajouter une image'; Line 25: $_MODULE['<{block3ecategories}prestashop>block3ecategories_efaeba65c6e6ece8c580d2e1eb176f3b'] = 'Ajouter une image'; Line 26: $_MODULE['<{block3ecategories}prestashop>block3ecategories_814579fdad9baf2cdcac456468265384'] = 'Liste des liens'; Line 26: $_MODULE['<{block3ecategories}prestashop>block3ecategories_814579fdad9baf2cdcac456468265384'] = 'Liste des liens'; quand je l'ajoute dans le pannel, ça me cré un bug et j'ai les modules qui disparaissent (toujours dans le pannel admin). j'ai du oublier quelquechose, si vous pouviez me donner un coup de pouce? ou de pied ^^ Link to comment Share on other sites More sharing options...
wariorz Posted May 8, 2012 Author Share Posted May 8, 2012 toujours pas d'idée? Link to comment Share on other sites More sharing options...
CartExpert.net Posted May 9, 2012 Share Posted May 9, 2012 Bonjour, Ici est le forum anglais. S'il vous plait, ecrivez en anglais. 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