<$mt:EntryID$>

Ouptuts the numeric ID for the current entry in context.

Attributes:

  • pad (optional; default "0")
    Adds leading zeros to create a 6 character string. The default is 0 (false). This is equivalent to using the `zero_pad` global filter with a value of 6.

This page was last updated on 2008-09-10, 21:52.

1 Note

From a discussion on the ProNet email list, elaborating on what this tag does:

Eugene Mah said: Every row in the mtentry table has a unique entryid (it's an autoincrement field in the database). All the tag does is spit out that entry_id. This is what the tag has always done (at least since I've been using MT)

Jesse Gardner added: It displays the ID# of the entry, a number handed out sequentially by the system that acts as a "primary key".

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.