Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-11 22:30:01

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Recent Articles

Hi, what do I put in the ‘COMMENT NUMBER’ bit to show how many comments have been added to an article!

this is the code on the page:

<txp:article_custom section="articles" limit="5" form="articlelist" />

and this is the code in the form articlelist:

<tr class="home-entries-rows">
<td><a href="<txp:permlink />" title="<txp:permlink />"><txp:title /></a></td>
<td align='right' class='home-entries-stats'><txp:posted format="%d/%m/%y" /></td>
<td align='right' class='home-entries-stats'>COMMENT NUMBER</td>
</tr>

Last edited by driz (2008-09-11 22:31:01)


~ Cameron

Offline

#2 2008-09-11 22:34:50

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Recent Articles

comments_count. Bookmark the tag index.

Offline

#3 2008-09-11 22:38:57

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Recent Articles

How do I get it so that on my article, when I add the comment_invite, it ONLY shows the number and links to the comments! Instead of showing the Comment [1]

OH! and how I do I get my article list to only show the ones previous to the main article, Ie. not the the most recent one! x

Last edited by driz (2008-09-11 22:46:50)


~ Cameron

Offline

#4 2008-09-11 22:49:58

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Recent Articles

driz wrote:

OH! and how I do I get my article list to only show the ones previous to the main article, Ie. not the the most recent one! x

offset


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#5 2008-09-12 00:36:53

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Recent Articles

driz wrote:

How do I get it so that on my article, when I add the comment_invite, it ONLY shows the number and links to the comments! Instead of showing the Comment [1]

Gocom has you covered.

Last edited by jm (2008-09-12 00:37:08)

Offline

#6 2008-09-12 02:56:19

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Recent Articles

jm wrote:

Gocom has you covered.

[notsogoodjoke]*Covers driz with slim*[/notsogoodjoke]

Offline

Board footer

Powered by FluxBB