Initial Commit
This commit is contained in:
17
local/modules/Sitemap/Config/config.xml
Normal file
17
local/modules/Sitemap/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">
|
||||
|
||||
<hooks>
|
||||
<hook id="sitemap.hook" class="Sitemap\Hook\SitemapHook" scope="request">
|
||||
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfig" />
|
||||
</hook>
|
||||
</hooks>
|
||||
|
||||
<forms>
|
||||
<form name="sitemap_config_form" class="Sitemap\Form\SitemapConfigForm" />
|
||||
</forms>
|
||||
|
||||
</config>
|
||||
26
local/modules/Sitemap/Config/module.xml
Normal file
26
local/modules/Sitemap/Config/module.xml
Normal 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>Sitemap\Sitemap</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>Create sitemap and sitemap image files more quickly</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Génère les fichiers sitemap et sitemap image plus rapidement</title>
|
||||
</descriptive>
|
||||
<languages>
|
||||
<language>en_US</language>
|
||||
<language>fr_FR</language>
|
||||
</languages>
|
||||
<version>1.3.2</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Etienne Perriere</name>
|
||||
<email>eperriere@openstudio.fr</email>
|
||||
</author>
|
||||
</authors>
|
||||
<type>classic</type>
|
||||
<thelia>2.1.0</thelia>
|
||||
<stability>beta</stability>
|
||||
</module>
|
||||
23
local/modules/Sitemap/Config/routing.xml
Normal file
23
local/modules/Sitemap/Config/routing.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="sitemap.process" path="/sitemap">
|
||||
<default key="_controller">Sitemap\Controller\SitemapController::generateAction</default>
|
||||
</route>
|
||||
|
||||
<route id="sitemap.image.process" path="/sitemap-image">
|
||||
<default key="_controller">Sitemap\Controller\SitemapController::generateImageAction</default>
|
||||
</route>
|
||||
|
||||
<route id="sitemap.configuration.default" path="/admin/module/Sitemap" methods="get">
|
||||
<default key="_controller">Sitemap:SitemapConfig:default</default>
|
||||
</route>
|
||||
|
||||
<route id="sitemap.configuration.save" path="/admin/module/Sitemap" methods="post">
|
||||
<default key="_controller">Sitemap:SitemapConfig:save</default>
|
||||
</route>
|
||||
|
||||
</routes>
|
||||
Reference in New Issue
Block a user