Création du module BrandsOnHome (affichage des marques vendues sur la page d'accueil)

This commit is contained in:
2019-11-25 05:25:39 +01:00
parent d4f066994d
commit 81d6321b11
10 changed files with 201 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns="http://thelia.net/schema/dic/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
<hooks>
<hook id="brandsonhome.hook.front">
<tag name="hook.event_listener" event="main.stylesheet" type="front" active="1" templates="css:assets/style.css" />
<tag name="hook.event_listener" event="main.content-bottom" type="front" active="1" templates="render:main-content-bottom.html" />
</hook>
</hooks>
</config>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="http://thelia.net/schema/dic/module"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/module http://thelia.net/schema/dic/module/module-2_2.xsd">
<fullnamespace>BrandsOnHome\BrandsOnHome</fullnamespace>
<descriptive locale="en_US">
<title>Displays brands sold by the shop on site's homepage</title>
</descriptive>
<descriptive locale="fr_FR">
<title>Affiche les logos des marques vendues par la boutique sur sa page d'accueil</title>
</descriptive>
<languages>
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.0</version>
<authors>
<author>
<name>Laurent LE CORRE</name>
<email>laurent@thecoredev.fr</email>
</author>
</authors>
<type>classic</type>
<thelia>2.3.0</thelia>
<stability>other</stability>
</module>