Inital commit
This commit is contained in:
17
local/modules/HookNavigation/Config/config.xml
Normal file
17
local/modules/HookNavigation/Config/config.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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">
|
||||
<loops>
|
||||
</loops>
|
||||
<forms>
|
||||
<form name="hooknavigation.configuration" class="HookNavigation\Form\HookNavigationConfigForm" />
|
||||
</forms>
|
||||
<commands>
|
||||
</commands>
|
||||
<hooks>
|
||||
<hook id="hooknavigation.hook.front" class="HookNavigation\Hook\FrontHook">
|
||||
<tag name="hook.event_listener" event="main.navbar-primary" templates="render:main-navbar-primary.html" />
|
||||
<tag name="hook.event_listener" event="main.footer-bottom" type="front" active="1" method="onMainFooterBottom" />
|
||||
<tag name="hook.event_listener" event="main.footer-body" type="front" active="1" method="onMainFooterBody" />
|
||||
</hook>
|
||||
</hooks>
|
||||
</config>
|
||||
24
local/modules/HookNavigation/Config/module.xml
Normal file
24
local/modules/HookNavigation/Config/module.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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_1.xsd">
|
||||
<fullnamespace>HookNavigation\HookNavigation</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>Block Navigation</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Bloc Menu</title>
|
||||
</descriptive>
|
||||
<languages>
|
||||
<language>en_US</language>
|
||||
<language>fr_FR</language>
|
||||
</languages>
|
||||
<version>2.3.5</version>
|
||||
<author>
|
||||
<name>Julien Chanséaume</name>
|
||||
<email>jchanseaume@openstudio.fr</email>
|
||||
</author>
|
||||
<type>classic</type>
|
||||
<thelia>2.2.0</thelia>
|
||||
<stability>alpha</stability>
|
||||
</module>
|
||||
9
local/modules/HookNavigation/Config/routing.xml
Normal file
9
local/modules/HookNavigation/Config/routing.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
<route id="hooknavigation.configuration.default" path="/admin/module/HookNavigation" methods="get">
|
||||
<default key="_controller">HookNavigation:HookNavigationConfig:default</default>
|
||||
</route>
|
||||
<route id="hooknavigation.configuration.save" path="/admin/module/HookNavigation" methods="post">
|
||||
<default key="_controller">HookNavigation:HookNavigationConfig:save</default>
|
||||
</route>
|
||||
</routes>
|
||||
Reference in New Issue
Block a user