Entries tagged with “New in MT4” from Movable Type Documentation

_default

Type: modifier The global _default tag filter outputs when the tag produces an zero-length, empty string. Some tags have a default attribute, but the _default modifier works globally for all tags. Example Add default keywords: <$mt:EntryKeywords _default="default keywords go here"$>... Continue Reading  

setvar

Takes the content from the tag it is applied to and assigns it to the given variable name. Example, assigning a HTML link of the last published entry with a '@featured' tag to a template variable named 'featured_entry_link': <mt:Entries lastn="1"... Continue Reading  

CommenterUserpic

This template tag returns a complete HTML img tag for the current commenter's userpic. For example: <img src="http://yourblog.com/userpics/1.jpg" width="100" height="100" /> Example: <h2>Recent Commenters</h2> <mt:Entries recently_commented_on="10"> <div class="userpic" style="float: left; padding: 5px;"><$mt:CommenterUserpic$></div> </mt:Entries>... Continue Reading  

BlogTemplateSetID

Returns an identifier for the currently assigned template set for the blog in context. The identifier is modified such that underscores are changed to dashes. In the MT template sets, this identifier is assigned to the "id" attribute of the... Continue Reading  

AllowedTextFilters

This configuration directive governs which text filter choices are available to end users (default setting permits all filters). A change here will affect all blogs in the system. Disallowing a filter will not effect any entry or page that already... Continue Reading  

Running Movable Type with memcached

Memcached (pronounced mem-cash-dee) is a caching framework that allieviates database load and makes applications that utilize it faster and more reliable. From memcached's website: memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use... Continue Reading  

smart_quotes

This modifier converts any quotation marks in your content to their typographically-correct equivalent HTML entities. Curly quotes can be very pretty. Type: modifier Example <mt:EntryBody smart_quotes="1">... Continue Reading  

App:Form

Used for application templates that need to express a standard MT application form. This produces certain hidden fields that are typically required by MT application forms. Attributes: action (optional) Identifies the URL to submit the form to. If not given,... Continue Reading  

CommentParent

A block tag that can be used to set the parent comment of the current comment in context. If the current comment has no parent, it produces nothing. Example: <mt:CommentParent> (a reply to <$mt:CommentAuthor$>'s comment) </mt:CommentParent>... Continue Reading  

IfCommentReplies

A conditional tag that is true when the comment currently in context has replies.... Continue Reading  

PageTags

A container tag which create a context about the assigned tags. Analogous to EntryTags. Attributes: glue A string used to join the output of the separate iterations of this tag. Example: Listing out the page's tags, separated by commas: <mt:PageTags... Continue Reading  

App:PageActions

An application template tag used to produce an unordered list of actions for a given listing screen. The actions are drawn from a page_actions template variable which is an array of hashes. Example: <$mtapp:PageActions$>... Continue Reading  

AssetScoreCount

A function tag that provides the number of scorings or 'votes' made to the asset in context. Scorings grouped by namespace of a plugin are summed. Attributes: namespace (required) Specify namespace for the number of scorings to be calculated. Namespace... Continue Reading  

AuthorScore

A function tag that provides total score of the author in context. Scores grouped by namespace of a plugin are summed to calculate total score of an author. Attributes: namespace (required) Specify namespace for score to be calculated. Namespace is... Continue Reading  

CommentScoreLow

A function tag that provides the lowest score of the comment in context. Scorings grouped by namespace of a plugin are sorted to find the lowest score of a comment. Attributes: namespace (required) Specify namespace for the score to be... Continue Reading  

FeedInclude

Type: function Example <mt:FeedInclude />... Continue Reading  

PageDate

The authored on timestamp for the page. Attributes: format A string that provides the format in which to publish the date. If unspecified, the default that is appropriate for the language of the blog is used (for English, this is... Continue Reading  

SubFolderRecurse

Recursively call the <mt:SubFolders> or <mt:TopLevelFolders> container with the subfolders of the folder in context. This tag, when placed at the end of loop controlled by one of the tags above will cause them to recursively descend into any subfolders... Continue Reading  

nofollowfy

Processes the 'a' tags from the tag it is applied to and adds a 'rel' attribute of 'nofollow' to it (or appends to an existing rel attribute). Example: <$mt:CommentBody nofollowfy="1"$>... Continue Reading  

AutoSaveFrequency

The number of seconds between auto-save actions to the Edit Entry, Edit Page, and Edit Template screens. Auto-save can be disabled with a value of zero. Values Integer. Default is 5 seconds. Example Change auto-save frequency to every 20 seconds:... Continue Reading