
1- Modify the file header.php
Folder : templates > ja_purity_ii > layouts > header.php
we will change the follow lines :
<?php $this->loadBlock('usertools/screen') ?>
<?php $this->loadBlock('usertools/font') ?>
by the code :
<?php if($this->getParam('AffScreenTool')==1): ?>
<?php $this->loadBlock('usertools/screen') ?>
<?php endif; ?>
<?php if($this->getParam('AffFontTool')==1): ?>
<?php $this->loadBlock('usertools/font') ?>
<?php endif; ?>
2- Modify the templateDetails.xml
Folder : templates > ja_purity_ii > templateDetails.xml
In the parameters ("params") we will add this lines :
<param name="@title" type="japaramhelper" label="Icons Tools" description="Icons tools Desc" />
<param name="AffScreenTool" type="radio" default="1" label="Show Screen Tools Icons"
description="SHOW SCREEN TOOLS ICONS DESCRIPTION">
<option value="1">Show</option>
<option value="0">Hide</option>
</param>
<param name="AffFontTool" type="radio" default="1" label="Show Font tools Icons"
description="SHOW FONT TOOLS ICONS DESCRIPTION">
<option value="1">Show</option>
<option value="0">Hide</option>
</param>
3- Modify the language file
Folder : administrator > language > fr-FR >fr-FR.tpl_ja_purity_ii.ini
We will modify the language file of the template administration by adding this :
ICONS TOOLS=Icônes d'outils
ICONS TOOLS DESC=Afficher ou non les icones en haut a droite dans le header.
Taille du template et taille de la police.
SHOW SCREEN TOOLS ICONS=Afficher les icônes taille du template
SHOW SCREEN TOOLS ICONS DESCRIPTION=Afficher ou non les icones en haut à droite dans le header.
Taille du template.
SHOW FONT TOOLS ICONS=Afficher les icônes taille de la Police
SHOW FONT TOOLS ICONS DESCRIPTION=Afficher ou non les icones en haut à droite dans le header.
Taille de la police.
The code above is on 2 lines for the visibility on screen. But in the reality you have to put each parameter on 1 line.
















