Dotclear

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

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2010-04-07 10:08:04

Umaxik
Membre
Inscription : 2010-04-07

Probable bug? 'post.htm' should use 'has_ping' instead of 'show_ping'

Bonjour, excuze-moi, je ne parle pas francaise bien :)

[there is some problem either with the English forum or tickets]

Each post has 'La discussion continue ailleurs' message in its bottom. Even if there is no trackbacks. I searched for a reason and found that it reveals everywhere, even in the themes. Voila:

http://themes.dotaddict.org/demo-dc2/?p … FirstImage

As far as I understand, there is wrong condition in the post.htm file (when it decides to show/hide the block about trackbacks).

It uses: <tpl:EntryIf show_ping="1">
It could do: <tpl:EntryIf has_ping="1">

Merci,
Max

Hors ligne

#2 2010-04-07 10:10:13

Umaxik
Membre
Inscription : 2010-04-07

Re : Probable bug? 'post.htm' should use 'has_ping' instead of 'show_ping'

It is about DotClear2, sorry.

Max.

Hors ligne

#3 2010-04-07 10:19:25

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

Re : Probable bug? 'post.htm' should use 'has_ping' instead of 'show_ping'

Hello and welcome here :)

Thank you for the report. Before going further, we must know a bit more about your installation. What is your version of Dotclear ? Does it happen also with the default theme or only with a particular one, and if so which one ?

(moved your post in DC2 forum)

Hors ligne

#4 2010-04-07 12:41:42

Umaxik
Membre
Inscription : 2010-04-07

Re : Probable bug? 'post.htm' should use 'has_ping' instead of 'show_ping'

Hello and thanks for your fast response :)

Mine is 2.1.6, it is here (with that offered change for conditions already):
http://www.maxamuxa.com/blog/?

Honestly, I could something done wrong (learn PHP with your blog).

This problem occurs everywhere:

1. default theme (please, look at \themes\default\tpl\post.html)
2. the themes for DotClear2, for example:
http://themes.dotaddict.org/demo-dc2/?p … FirstImage
http://themes.dotaddict.org/demo-dc2/?p … FirstImage
(etc.; supposedly, everywhere, because of the same sources; please, look at the bottom of pages)

I do not really know is that a bug or just feature. :) Maybe, the sign 'here are some related posts below' is useless if there is no such posts.

Best regards,
Max

Hors ligne

#5 2010-04-07 12:46:36

Umaxik
Membre
Inscription : 2010-04-07

Re : Probable bug? 'post.htm' should use 'has_ping' instead of 'show_ping'

Hm... I should have been accuracy, these links are the same...

Just chosen vary themes here and went into the topmost post:
http://themes.dotaddict.org/galerie-dc2/

Max

Hors ligne

#6 2010-04-07 12:50:30

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

Re : Probable bug? 'post.htm' should use 'has_ping' instead of 'show_ping'

Now I see, it is a feature :) and it is there to provide a trackback url for the current post.

If you close trackbacks on the post, it will not appear anymore

Hors ligne

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

Pied de page des forums

Sites map