Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.2
About It:
Get it:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

ajw_comment_num

Allows for outputting current comment number.

Requires:

  • 1.0RC3 (rev180 or greater)
  • If you are using Textpattern 1.0RC3 rev142 thru rev179, you will need to perform a one-line edit of /textpattern/publish/comment.php, as outlined in this Textpattern Forum thread (allows for plugin parsing in comments)

Examples:

Ideally, this is meant to be used in your default comment form. While it is possible to use this plugin with the default

    formatting of comments, you’ll be able to do much more fun things if you switch off numbered list formatting in admin->preferences.

    <div id="comment-<txp:ajw_comment_num />">
    <span class="comment-num"><txp:ajw_comment_num /></span>
    ...other comment form stuff...
    </div>

    Result:

    <div id="comment-1">
    <span class="comment-num">1</span>
    ...other comment form stuff...
    </div>

    Article Request Count:
    Initially released:
    2005-03-09
    Posted here:
    15 Mar 2005
    Article modified:
    06 Jan 2007

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (1)

3esmile:

Thanks, Andrew!

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern