diff --git a/local/modules/BrandsOnHome/Config/config.xml b/local/modules/BrandsOnHome/Config/config.xml index 61ec63e9..3496e3a8 100644 --- a/local/modules/BrandsOnHome/Config/config.xml +++ b/local/modules/BrandsOnHome/Config/config.xml @@ -7,7 +7,7 @@ - + diff --git a/local/modules/BrandsOnHome/Hook/FrontHook.php b/local/modules/BrandsOnHome/Hook/FrontHook.php deleted file mode 100644 index 03599a4a..00000000 --- a/local/modules/BrandsOnHome/Hook/FrontHook.php +++ /dev/null @@ -1,20 +0,0 @@ - - */ -class FrontHook extends BaseHook { - public function onMainContentBottom(HookRenderEvent $event) - { - $content = trim($this->render("main-content-bottom.html")); - if ("" != $content) { - $event->add($content); - } - } -} \ No newline at end of file diff --git a/local/modules/BrandsOnHome/composer.json b/local/modules/BrandsOnHome/composer.json index b2f6e30d..e618b996 100644 --- a/local/modules/BrandsOnHome/composer.json +++ b/local/modules/BrandsOnHome/composer.json @@ -1,5 +1,5 @@ { - "name": "your-vendor/brands-on-home-module", + "name": "TheCoreDev/brands-on-home-module", "license": "LGPL-3.0+", "type": "thelia-module", "require": { diff --git a/local/modules/BrandsOnHome/templates/frontOffice/default/main-content-bottom.html b/local/modules/BrandsOnHome/templates/frontOffice/default/home-body.html similarity index 100% rename from local/modules/BrandsOnHome/templates/frontOffice/default/main-content-bottom.html rename to local/modules/BrandsOnHome/templates/frontOffice/default/home-body.html