Home / Web development / Content management systems (CMS) / Movable Type / What is Movable Type private entry tags (that one starting with @) ?

What is Movable Type private entry tags (that one starting with @) ?

Sponsored links

libhound.com-mt-private-tag
While working on one cool MovableType application I remembered one very annoying thing that made me wasting plenty of time a while ago – private entry tags.

Shorty, all entry tags starting with @ are counted by Movable Type as private. You may want to use it for the sticky or featured posts or something like this. By default, you will not see these tags if you list them with <MTEntryTags> and it looks like there is no chance to make them visible as it is only one attribute “glue” described for <MTEntryTags>.
Not true! If you can read in Perl sources you may find that <MTEntryTags> has another one attribute include_private that does a magic! Just write like this

<MTEntryTags include_private=”1″><$mt:TagName$></MTEntryTags>

and you will see all tags assigned to the entry.

Tagged with:

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>