Authors

A container tag which iterates over a list of authors. Default listing includes Authors who have at least one published entry.

Attributes:

  • display_name

    Specifies a particular author to select.

  • lastn

    Limits the selection of authors to the specified number.

  • sort_by (optional)

    Supported values: display_name, name, created_on.

  • sort_order (optional; default "ascend")

    Supported values: ascend, descend.

  • roles

    A comma separated list of roles used to select users by. eg: "Author, Commenter".

  • need_entry (optional; default "1")

    Identifies whether the author(s) must have published an entry to be included or not.

  • status (optional; default "enabled")

    Supported values: enabled, disabled.

  • namespace

    Used in conjunction with the "min*", "max*" attributes to select authors based on a particular scoring mechanism.

  • min_score

    If 'namespace' is also specified, filters the authors based on the score within that namespace. This specifies the minimum score to consider the author for inclusion.

  • max_score

    If 'namespace' is also specified, filters the authors based on the score within that namespace. This specifies the maximum score to consider the author for inclusion.

  • min_rank

    If 'namespace' is also specified, filters the authors based on the rank within that namespace. This specifies the minimum rank to consider the author for inclusion.

  • max_rate

    If 'namespace' is also specified, filters the authors based on the rank within that namespace. This specifies the maximum rank to consider the author for inclusion.

  • min_count

    If 'namespace' is also specified, filters the authors based on the count within that namespace. This specifies the minimum count to consider the author for inclusion.

  • max_count

    If 'namespace' is also specified, filters the authors based on the count within that namespace. This specifies the maximum count to consider the author for inclusion.

List all Authors in a blog with at least 1 entry:

    <mt:Authors>
       <a href="<$mt:AuthorURL$>"><$mt:AuthorDisplayName$></a>
    </mt:Authors>

List all Authors and Commenters for a blog:

    <mt:Authors need_entry="0" roles="Author, Commenter">
        <a href="<$mt:AuthorURL$>"><mt:AuthorDisplayName$></a>
    </mt:Authors>
This page was last updated on 2008-03-05, 16:23.  

Leave a note