Personnaliser le blog WonderCMS 3.4.2

Publié le | Aucun commentaire

Classé dans : Personnalisation, Intervention délicate en 5 min. | Mots clés : WonderCMS

In plugins/simple-blog/class.SimpleBlog.php :

3,5d2
< // POUR LA TRADUCTION DES DATES EN FRANCAIS
< setlocale(LC_TIME, "fr_FR");

188,190c185
<                         // TRADUIRE LES DATES EN FRANCAIS
<                         $dateFR = date($this->dateFormat, $post->date);
<                         $date = utf8_encode(strftime("%d %B %G", strtotime($dateFR)));


194,195c189
<                 <!-- ORIGINAL : <h3>{$post->title}</h3> TRANSFORME POUR AVOIR UN LIEN SUR LE TITRE QUI OUVRE LA PAGE DU POSTE -->
<                 <h3><a class="h3aposttitle" href="http://80hg.francksinimale.fr/{$this->Wcms->url($this->slug . '/' . $slug)}">{$post->title}</a></h3>

202c196
<                             <a href="http://80hg.francksinimale.fr/{$this->Wcms->url($this->slug . '/' . $slug)}" class="text-right">&#8618; lire la suite</a>

211,213c205
<                         // TRADUIRE LES DATES EN FRANCAIS
<                         $dateFR = date($this->dateFormat, $post->date);
<                         $date = utf8_encode(strftime("%d %B %G", strtotime($dateFR)));

243c235
<                             <a href="http://80hg.francksinimale.fr/../$this->slug" class="btn btn-sm btn-light"><span class="glyphicon glyphicon-chevron-left small"></span><span style="font-size:2rem;">↜</span> retour au blog</a>

Et ça marche smiley

Source :

Écrire un commentaire

Quelle est le cinquième caractère du mot eqxvtl ?

Fil RSS des commentaires de cet article