Dotclear

Vous n'êtes pas identifié(e).

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2016-05-16 21:04:36

Tin
Membre
Lieu : Suisse
Inscription : 2016-04-08
Site Web

Breadcrumb syntax

The function {{tpl:Breadcrumb}} gives the information

"Accueil › Nom de la catégorie › Titre du billet"

How to change this that only "Acceuil > Titre du billet" is displayed - without "Nom de la catégorie"?


Salutations / best regards
Tin

Hors ligne

#2 2016-05-18 12:51:44

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : Breadcrumb syntax

It is not easy to do, you would have to create a new template tag (based on {{tpl:Breadcrumb}}'s code) in a _public.php file in your theme's folder to override the tag's behaviour.

As a quick fix you can delete lines 78 to 87 in /dotclear/plugins/breadcrumb/_public.php but the plugin might get automatically updated later ;)

Hors ligne

#3 2016-05-18 17:47:58

Tin
Membre
Lieu : Suisse
Inscription : 2016-04-08
Site Web

Re : Breadcrumb syntax

Ok thanks - it works now without categorie information.

BTW did you have a look how dotclear is doing its great job for me ;-) http://notiz.tk


Salutations / best regards
Tin

Hors ligne

#4 2016-05-18 17:54:24

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : Breadcrumb syntax

I saw, it looks nice and seems to be going well. Enjoy it !

Hors ligne

#5 2016-05-18 18:03:33

Tin
Membre
Lieu : Suisse
Inscription : 2016-04-08
Site Web

Re : Breadcrumb syntax

I have added a custom CSS - so all the small layout changes/adds with "Berlin" are made in this file - so they don't get lost in an upgrade ;-)


Salutations / best regards
Tin

Hors ligne

#6 2016-08-20 05:05:04

Moe Taylor
Membre
Lieu : Gastonia, NC
Inscription : 2016-08-01
Site Web

Re : Breadcrumb syntax

I did the same and added some simple CSS, be sure to save your files before the upgrade.

Dernière modification par Moe Taylor (2016-08-20 05:05:24)

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map