default userpic

What's the difference between <mt:Foo /> and <$mt:Foo$>

Vote 0 Votes

What does $ stand for?

So I'm learning about making my own MT templates and just got myself into the tags system. Well out of my first thought, I say they have no distinct differences just 2 different ways of representing template tags / directives? With any tag, they are interchangeable?

2 Replies

| Add a Reply
  • Absolutely nothing. Traditionally, for only visual distinction container tags are usually input without the question marks (e.g. <mt:entries> ... </mt:entries>) and variable tags with (e.g. <$mt:blogname$>) but they are not required.

    Other non required elements include:

    • The colon between the mt and the rest of the tag name: <mt:blah> is the same as <mtblah>
    • Proper casing (there isn't any): <$MTBlogName$> is exactly the same as <mt:blogname>
    • The XML-style trailing slash on variable tags: <mt:EntryTitle />

    Further reading

  • Thanks Allen, got it all cleared up! =)

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008