Movable Type Documentation > Movable Type 4.1

Template Tags New in Movable Type 4.1

New to Movable Type 4.1

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
This page was last updated on 2008-04-27, 13:25.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)