Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-21 12:39:23

SVerschuren
New Member
Registered: 2007-01-21
Posts: 3

How do I adjust comments

Hi, I want beneath every blog I post, the following:

“Filed in <category>, there are a total of 2 comments”

The category works fine, but how do I adjust the comments tag?

I only get this:

There are a total of comments [2]

Please help :)

Offline

#2 2007-01-21 13:55:05

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: How do I adjust comments

Hi,

The verbiage for the comment is kept for each article, click more on the right hand side while editing an article – Invitation.

There is also a default in the Preferences tab in the Admin area.

Either go article by article and make the adjustments or sprinkle some MySQL magic over your database.

Offline

#3 2007-01-21 15:07:28

SVerschuren
New Member
Registered: 2007-01-21
Posts: 3

Re: How do I adjust comments

Unfortunately, my MySQL magic powers are insufficient for this task that was appointed to me.

So, can anybody help me? :)

Offline

#4 2007-01-21 15:33:47

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do I adjust comments

You can replace the <txp:comments_invite /> tag with something like this:

<txp:if_comments_allowed>
<p>There are a total of <txp:comments_count /> <a href="<txp:permlink />#comment">comments</a></p>
</txp:if_comments_allowed>

You’ll have to add the #comment anchor in your single article form.

Otherwise you can have a look at chu_comments_invite, I haven’t tried it yet, but it looks promising.

Offline

#5 2007-01-21 16:41:06

SVerschuren
New Member
Registered: 2007-01-21
Posts: 3

Re: How do I adjust comments

Chu comments works perfectly! This was exactly what I was looking for! :)

Thanks/Heel erg bedankt Els!

Offline

#6 2007-01-22 14:37:45

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: How do I adjust comments

Thanks Els, it seems there are new txp tags I learn about everyday (like txp:comments_count), no need for plugins for me just yet. Thanks again!

Offline

Board footer

Powered by FluxBB