GuppY, the benchmark database free CMS

telecharger01.png


You are here :   Welcome » Forum » GuppY 6 » Modifier un texte
    Print this page...

Warning: GuppY 6.00.18

GuppY release 6.00.18 : pack, cumulative and non-cumulative patch

To upgrade from 6.00.17 to 6.00.18, you apply the non-cumulative GuppY 6.00.18 patch.

To upgrade from version 5.03.03 to version 6.00.18, you must follow the migration procedure described in this article.


For plugins and skins, please post on the author's website.

The skins and plugins of our friend Saxbar are available for download on this site.


 

Forum - GuppY 6 - Modifier un texte


Connected : (nobody)

  Topic # 131856
18/01/2024 @ 10:28
by TpF

Bonjour,

Désolé, je ne me souviens plus de la bonne méthode.

C'est un détail cosmétique. Je souhaite remplacer le texte "Poster un billet" par "Poster une annonce".

Il me semble qu'il faut réécrire la variable $web[386] = 'Poster une annonce';

mais je ne sais plus dans quel fichier de ma skin.

Merci de m'éclairer une nouvelle fois.

  

Answer n° 1
--------
18/01/2024 @ 10:58
by linuxmr
linuxmr
Administrator

Bonjour,

Il faut mettre cette ligne $web[386] = 'Poster une annonce'; dans fr-adminplus.inc

fr correspond aux langues définies dans la config générale du site

Ce fichier se trouve dans /inc/lang/

A+

  
Answer n° 2
--------
19/01/2024 @ 11:22
by TpF

Merci, mais cela n'a pas l'air de fonctionner.

La syntaxe de fr-adminplus.inc


Citation : « pF »

/*******************************************************************************  *   Customize Admin Language Strings  *******************************************************************************  *   GuppY PHP Script - version 6.0  *   CeCILL Copyright (C) 2004-2020 by Laurent Duveau  *   Initiated by Laurent Duveau and Nicolas Alves  *   Web site = https://www.freeguppy.org/  *   e-mail   = guppy@freeguppy.org  *   V6 developed by Lud Bienaimé  *      with the participation of the GuppY Team  *******************************************************************************  *   Latest Changes :  * v6.00.00 (December 15, 2020) : initial release  ******************************************************************************/ if (stristr($_SERVER['SCRIPT_NAME'], 'fr-admplus.inc')) {     header('location:../index.php');     die();     } $web[386] = 'Proposer une annonce';
?>

est-elle bonne ?


Rectifié par TpF le 19/01/2024 @ 11:24
  
Answer n° 3
--------
19/01/2024 @ 15:04
by linuxmr
linuxmr
Administrator

Bonjour,

La réponse est non, pas dans ce fichier si c'est en dehors de la partie c'est le fichier ,pour la langue fr,  fr-plus.inc

Voila ce que vous devriez avoir

<?php
/*******************************************************************************
 *   Customize Web Language Strings
 *******************************************************************************
 *   GuppY PHP Script - version 6.0
 *   CeCILL Copyright (C) 2004-2020 by Laurent Duveau
 *   Initiated by Laurent Duveau and Nicolas Alves
 *   Web site = https://www.freeguppy.org/
 *   e-mail   = guppy@freeguppy.org
 *   V6 developed by Lud Bienaimé
 *      with the participation of the GuppY Team
 *******************************************************************************
 *   Latest Changes :
 * v6.00.00 (December 15, 2020) : initial release
 ******************************************************************************/

if (stristr($_SERVER['SCRIPT_NAME'], 'fr-plus.inc')) {
    header('location:../index.php');
    die();
}
$web[386] = 'Proposer une annonce'; 
?>

A+

Linuxmr


Rectifié par linuxmr le 19/01/2024 @ 15:06
  
Answer n° 4
--------
23/01/2024 @ 11:37
by TpF

Super,

cette fois cela fonctionne !

Merci beaucoup, je reviendrai prochainement vers vous pour un souci avec la supervision qui fonctionnait très bien sous la v5 mais n'envoie rien en v6.

  
topic active   topic closed   Important!   New  
Correct message   Close topic   Make sticky topic