Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-13 11:16:43

Beto
New Member
Registered: 2009-10-13
Posts: 5
Website

Comment number in article

Hi all.
First of all I apologize for bad english.
I’m new with Textpattern (by the way, I am very impressed and satisfied), and I’m trying to build some modules and forms to display the comments of an article. I was looking for a tag (in textbook) which can help me to know the number of the current comment, but nothing seems to help me.

Is there a way I can do that?
Any help would be very appreciated.

—Beto

Offline

#2 2009-10-13 11:51:33

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Comment number in article

You mean something like Comment#1, Comment#2 I presume?

You can use rvm_counter in your page, so it’s called just once, not each time a comment is displayed. And another time in your form you increment the count by one by putting another counter there.

Last edited by uli (2009-10-13 11:53:57)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2009-10-13 15:31:22

Beto
New Member
Registered: 2009-10-13
Posts: 5
Website

Re: Comment number in article

Yes it is what I am looking for! Thank you, a lot.

—Beto

Offline

Board footer

Powered by FluxBB