Not a developer? Go to MovableType.com

Documentation

AuthorFollowing

A block tag that generates a list of users the user of the profile page being viewed is following. Template tags, such as <mt:AuthorName>, can be used to set how user information is displayed.

Usage

<mt:AuthorFollowing>
   <mt:If name="__first__">
       <ul class="user-listing">
   </mt:If>
           <li>
               <a href="<$mt:Var name="profile_view_url" encode_html="1"$><$mt:AuthorID$>" class="user-name"><$mt:AuthorDisplayName$></a>
               <a href="<$mt:AuthorURL$>" class="user-url"><$mt:AuthorURL regex_replace="/^\w+:\/\//","" $></a>
           </li>
   <mt:If name="__last__">
       </ul>
   </mt:If>
</mt:AuthorFollowing>

Modifiers

lastn

Displays the most recent number of users starting from a specified number. N must be greater than 0.

lastn="N"

glue

Sets the characters used to separate user information. The following example shows the use of a comma (,) as an info divider.

<mt:AuthorFollowing glue=","><$mt:AuthorName$></mt:AuthorFollowing>

Output:

Melody Nelson, Melody Nelson, Melody Nelson

Back

Leave a Comment