Skip to content
Snippets Groups Projects
Commit cfd156e9 authored by VESSILLER's avatar VESSILLER
Browse files

NEW setup information

parent 9e64b390
Branches 2024 2024_rc
Tags 18.0.1
No related merge requests found
......@@ -130,7 +130,9 @@ print "</tr>\n";
print '<tr class="oddeven">'."\n";
print '<td colspan="3">';
print $langs->trans("PagesSubstitutionSubstitutionPagesRootPath", 'core/modules/pagessubstitution');
$all_entity_dir_path = 'core/modules/pagessubstitution/'.pagessubstitution_get_entity_path(0);
$self_entity_dir_path = 'core/modules/pagessubstitution/'.pagessubstitution_get_entity_path($conf->entity);
print $langs->trans("PagesSubstitutionSubstitutionPagesRootPath", $all_entity_dir_path, $self_entity_dir_path);
print '// Change this following line to use the correct relative path (../, ../../, etc)<br>';
print '// to work if your module directory is into a subdir of root htdocs directory<br>';
print '$res=0;<br>';
......
......@@ -5,6 +5,6 @@ Module163009Desc=Substitution of pages
PagesSubstitutionSetup=Configuration of module Pages Substitution
PagesSubstitutionSubstitutionFiles=List of substitutable files
PagesSubstitutionSubstitutionPagesRootPath=You must put the pages to substitute in the external module directory '%s' keeping the same tree (eg: 'societe/soc.php') and enable 'pagessubstituion' in 'module_parts' variable.<br>To be taken into account you must replace the line including the file 'main.inc.php' (eg: "require '../main.inc.php';") by:<br><br>
PagesSubstitutionSubstitutionPagesRootPath=You must put the pages to substitute in the external module directory '%s' (for all entities) or in the directory '%s' (for this entity) keeping the same tree (eg: 'societe/soc.php') and enable 'pagessubstituion' in 'module_parts' variable.<br>To be taken into account you must replace the line including the file 'main.inc.php' (eg: "require '../main.inc.php';") by:<br><br>
PAGESSUBSTITUTION_HOOK_TEST=Display of pages supported for substitution (and disables substitution during testing).<br>Note: For AJAX pages, the notification appears the next time a page is loaded.
PagesSubstitutionSubstitutionPagesSupported=Supported page for substitution: '%s'
......@@ -5,6 +5,6 @@ Module163009Desc=Substitution de pages
PagesSubstitutionSetup=Configuration du module Pages Substitution
PagesSubstitutionSubstitutionFiles=Liste des fichiers substituables
PagesSubstitutionSubstitutionPagesRootPath=Vous devez mettre les pages à substituer dans le répertoire '%s' du module externe en gardant la même arborescence (ex: 'societe/soc.php') et activer 'pagessubstituion' de la variable 'module_parts'.<br>Pour qu'il soit pris en compte vous devez remplacer la ligne incluant le fichier 'main.inc.php' (ex: "require '../main.inc.php';") par :<br><br>
PagesSubstitutionSubstitutionPagesRootPath=Vous devez mettre les pages à substituer dans le répertoire '%s' (pour toutes les entités) ou dans le répertoire '%s' (pour uniquement cette entité) du module externe en gardant la même arborescence (ex: 'societe/soc.php') et activer 'pagessubstituion' de la variable 'module_parts'.<br>Pour qu'il soit pris en compte vous devez remplacer la ligne incluant le fichier 'main.inc.php' (ex: "require '../main.inc.php';") par :<br><br>
PAGESSUBSTITUTION_HOOK_TEST=Affichage des pages supportées pour la substitution (et désactive la substitution pendant le test).<br>Note: pour les pages AJAX, la notification apparaît au prochain chargement d'une page.
PagesSubstitutionSubstitutionPagesSupported=Page supportée pour la substitution: '%s'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment