movabletype.jp
検索

MTActionsComment block tag Community

特定のユーザーのコミュニティ内でのアクションのうち、コメントを一覧する為のブロックタグです。このタグは MTAction ブロックタグの中で使用します。またこのタグで囲まれた中では コメント関連のテンプレートタグを使用できます。

使い方

<mt:Actions namespace="community_pack_recommend" include_blogs="all" sort_order="descend" lastn="30">
    <mt:ActionsHeader>
    <ul class="recent-actions">
    </mt:ActionsHeader>
    <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:ActionsFooter>
    </ul>
    </mt:ActionsFooter>
</mt:Actions>
Updated on 2008-08-12, 19:52 .

Movable Type 関連書籍