Guppy CMS Portal WEB in php free without BDD

  Welcome  BloggY  News  Download  Links  Guestbook  Forum
Forum - Topic #131856

Topic #131856 Modifier un texte
    - by TpF 18/01/2024 @ 10:28

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
    - by linuxmr 18/01/2024 @ 10:58

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
    - by TpF 19/01/2024 @ 11:22

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
    - by linuxmr 19/01/2024 @ 15:04

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
    - by TpF 23/01/2024 @ 11:37

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.



Back to the list of topics
Top

© 2004-2024

Document generated in 0.03 second