Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-31 12:47:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

comments display bug?

I am experimenting in my localhost…

I have a problem which I never spotted before.
here is some info
in prefs I have “Present comments as a numbered list?=Yes”

In the comments display form I have

<h3 class="commenttitle">On <txp:comment_time />  <txp:comment_name /> said,</h3><br />
<txp:comment_message />

which is eventually displayed as

<p><ol class="comments">
<li><h3 class="commenttitle">On Jul 22, 02:11 pm <a href="http://example.com" rel="nofollow">Donald Swain</a> said,</h3><br />
I enjoy your site very much.
</li>
<li><h3 class="commenttitle">On May 31, 09:53 am <a href="http://www.neme.org" rel="nofollow">colak</a> said,</h3><br />
<p>test</p>

</li>
</ol></p>

Not a valid html as there are nested p tags… I guess that the wrapping ps are automatically added but … alas not correctly.

I use the default install with the little bug fix re Comment preferences are missing

Is there an easy fix for this?

Last edited by colak (2007-05-31 12:49:36)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2007-05-31 12:57:52

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: comments display bug?

Can you show the part of your template that contains your <txp:comments /> tag?

Offline

#3 2007-05-31 13:11:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

Re: comments display bug?

Hi ruud
thanks for responding.

this is my comments_display form

<txp:if_comments>
<h3 id="comments"><txp:comments_count /> Comments for &quot;<txp:title />&quot;</h3>
</txp:if_comments>
<p><txp:comments /></p>
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>

Last edited by colak (2007-05-31 13:17:01)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-05-31 13:13:35

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

Re: comments display bug?

and found it… This forum is just amazing… all i need to do is post here, and a solution is indicated in lighting speed… thanks ruut

Last edited by colak (2007-05-31 13:15:39)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB