注目しているユーザーのアクションのうち、お気に入り登録を一覧するブロックタグです。
使い方
<h2>Entries ♥ed by people <$mt:AuthorName escape="html"$> ♥s</h2> <mt:AuthorFollowingFavorites> <h3> <a href="<$mt:EntryPermalink escape="html"$>"> <$mt:EntryTitle escape="html"$> </a> </h3> </mt:AuthorFollowingFavorites>
モディファイア
- lastn="
N
" -
出力するお気に入り登録状況を、制限します。lastn モディファイアは、つねに降順 (新しいものから古いものに並ぶ) で処理します。
サンプルのように、たとえ
sort_by
モディファイアでタイトル順、かつ、sort_order
モディファイアで ascend (昇順) を指定しても、出力する結果は、最新 5 件のお気に入り登録状況です。初期値 (このモディファイアを指定しないときに設定される件数) は 20 件です。
- limit="N"
-
lastn
モディファイアが記事の作成日順に指定件数表示するのに対し、limit
モディファイアは、指定された条件でフィルタリングした結果を指定数を最大件数として表示します。 - sort_order="ascend | descend"
-
並べる順序を指定します。ascend を指定すると昇順 (新しいものが下)、descend は降順 (新しいものが上) です。初期値は descend です。
- sort_by="foo"
-
記事を並び替える対象を指定します。
MTAuthorFollowingFavorites と関連のあるテンプレートタグ (19)
- MTActions
- MTActionsComment
- MTActionsEntry
- MTActionsFavorite
- MTActionsFooter
- MTActionsHeader
- MTAuthorCommentResponses
- MTAuthorComments
- MTAuthorFollowers
- MTAuthorFollowersCount
- MTAuthorFollowing
- MTAuthorFollowingComments
- MTAuthorFollowingCount
- MTAuthorFollowingEntries
- MTAuthorFollowingFavorites
- MTAuthorFollowLink
- MTAuthorIfFollowed
- MTAuthorIfFollowing
- MTAuthorUnFollowLink