Template Tags New in Movable Type 4.1
New to Movable Type 4.1
- AuthorUserpicAsset
- AuthorUserpic
- AuthorUserpicURL
- BlogTemplateSetID
- CategoryCommentCount
- CommenterID
- CommenterURL
- CommenterUsername
- CommenterUserpic
- CommenterUserpicURL
- CommenterUserpicAsset
- CommentLink
- EntryAuthorUserpicAsset
- EntryAuthorUserpic
- EntryAuthorUserpicURL
- EntryClassLabel
- For
- IncludeBlock
- NotifyScript
Modified Tags
Else
Tags
Authors
The <mt:Authors>
tag now supports the following attributes:
role
- returns only users that possess the specified role or roles (the syntax for this is the same as the category filter on entries, “role="Author AND NOT Editor"
need_entry
- returns only users who have created an entry or page
Detecting if an author has created pages or entries
<MTAuthors need_entry="0">
<MTAuthorHasPage>
Users who have pages (who may also have entries)
<MTElse>
<MTAuthorHasEntry>
Users who do not have pages but have entries
<MTElse>
Users who do not have either pages nor entries
</MTAuthorHasEntry>
</MTAuthorHasPage>
</MTAuthors>
New Tag Modifiers
- wrap_text