movabletype.jp
検索

MTAuthorCustomFieldValue function tag new in mt4.1 Commercial

ユーザー・プロフィール編集画面に追加されたフィールドの値を表示するファンクションタグです。

このMTタグは MTAuthorCustomFields のコンテキストで使用します。

使い方

<MTAuthors>
    <ul>
    <MTAuthorCustomFields>
        <MTIfNonEmpty tag="AuthorCustomFieldValue">
            <li><$MTAuthorCustomFieldName$>(<$MTAuthorCustomFieldDescription$>): <$MTAuthorCustomFieldValue$></li>
        </MTIfNonEmpty>
    </MTAuthorCustomFields>
    </ul>
</MTAuthors>

カスタムフィールドで追加した項目からアップロードした画像などのアイテムを表示するには、専用のタグと合わせて追加される Asset タグを使用します。詳しくはドキュメントを参照ください。

Updated on 2008-08-25, 16:14 .

Movable Type 関連書籍