Files
sterivein/local/modules/CustomSwitchTemplate/Config/module.xml
TheCoreDev a149d7cead Une première version d'une version permettant d'avoir des templates différents suivant la langue.
A creuser mais peut-être pas besoin de TemplateSwitcher et de CustomSwitchTemplate, et qu'il suffirait de rajouter juste du Smarty dans layout.tpl et index.html
2024-01-09 18:04:53 +01:00

38 lines
1.4 KiB
XML

<?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>CustomSwitchTemplate\CustomSwitchTemplate</fullnamespace>
<descriptive locale="en_US">
<title>Change template according to user's language, to hide some features (placing order, ...) to non-french users</title>
</descriptive>
<descriptive locale="fr_FR">
<title>Change le template suivant la langue, pour proposer une version "bridée" du site aux clients non français</title>
</descriptive>
<languages>
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.0.0</version>
<authors>
<author>
<name>Laurent LE CORRE</name>
<company>TheCoreDev</company>
<email>laurent@thecoredev.fr</email>
</author>
</authors>
<type>classic</type>
<!--
module dependencies
<required>
<module version="&gt;=0.1">Front</module>
<module version="~1.0">HookCart</module>
<module version="&gt;0.2">HookSearch</module>
</required>
-->
<thelia>2.3.0</thelia>
<stability>other</stability>
<mandatory>0</mandatory>
<hidden>0</hidden>
</module>