<mt:Actions>

A container tag for actions. By default it will loop over all of the actions associated with the current user in context. The author_id tag can be used to indicated which author to load and display actions for. Once inside the loop, additional tags can be used to display details about each action as Movable Type iterates through each action.

Arguments

  • sort - Acceptable values: authored_on and created_on
  • days - the number of days to display actions for (default 25)
  • range_incl -
  • namespace -
  • author_id -
  • object_ds -
  • direction - Acceptable values: descend and ascend
  • limit -
  • lastn -
  • sort_by -
  • sort_order -

Example

<mt:Actions namespace="community_pack_recommend" include_blogs="all" sort_order="descend" lastn="30">
    <mt:ActionsHeader>
    <ul class="recent-actions">
    </mt:ActionsHeader>
    <mt:ActionsEntry>
        <li class="entry icon-entry">
            Posted <a href="<$mt:EntryLink>"><$mt:EntryTitle encode_html="1"$></a> to 
            <a href="<$MTEntryBlogURL$>" class="icon-blog"><$MTEntryBlogName$></a>
            <div class="excerpt"><$MTEntryExcerpt$></div>
        </li>
    </mt:ActionsEntry>
    <mt:ActionsComment>
        <li class="comment icon-comment">
            Commented on
            <mt:CommentEntry>
            <a href="<$mt:CommentLink$>"><$mt:EntryTitle encode_html="1"$></a>
            </mt:CommentEntry>
            <div class="excerpt"><$mt:CommentBody words="40"$>...</div>
        </li>
    </mt:ActionsComment>
    <mt:ActionsFavorite>
        <li class="favorite icon-favorite">
            Favorited <$mt:EntryTitle encode_html="1"$></a> on 
            <a href="<$mt:EntryLink$>">%%<a href="<$MTEntryBlogURL$>" class="icon-blog"><$MTEntryBlogName$></a>
        </li>
    </mt:ActionsFavorite>
    <mt:ActionsFooter>
    </ul>
    </mt:ActionsFooter>
<mt:else>
    <p class="note">No recent actions.</p>
</mt:Actions>
This page was last updated on 2008-04-30, 19:29. [Edit]

2 Notes

Can I do the pagination on this tag?

Can I do the pagination on this tag?

I also wish to paginate by mt:Actions.

But,There is no Argument "offset",so maybe impossible?

/* I'm sorry for my English isn't too good. */

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.