Movable Type 2.51 Released

Movable Type 2.51 is finally out (changelog is here). And I'm happy to say it includes a new <MTElse> tag for any conditional tag (whether it comes with MT or is provided through a plugin). Here's the MT documentation for the new tag:

You can use <MTElse> tag to supply an ``else'' condition for any conditional tag. That is, generally any tag with If in its name (for example, <MTEntryIfExtended>). <MTElse> is a container tag whose contents will be displayed if the condition is not met. The <MTElse> container should be placed within the container of the conditional tag for which it is providing the ``else'' condition.

And here's an example of how you'd use it (also from the MT user manual):

<MTEntryIfExtended>
  This entry has an extended body.
<MTElse>
  This entry does not have an extended body.
</MTElse>
</MTEntryIfExtended>

TrackBack

TrackBack URL for this entry:
http://bradchoate.com/mt/feedback/tb/432

Listed below are links to weblogs that reference Movable Type 2.51 Released:

» MovableType 2.51 from blog-e-ando
Está disponible la versión 2.5 de MovableType, con la etiqueta <$MTElse$> disponible para su uso con etiquetas condicionales de MT.La etiqueta se debemos agradecer a Brad. Pasaos y leed los numerosos bugs que se han corregido y comprobad si merece [Read More]

» Nuevo Movable Type 2.51 from mini-d
Me enteré leyendo mis RSS favoritos, chupando noticias a full. MT 2.51 el cual promete (y parece que así lo [Read More]

About

This article was published on October 30, 2002 5:15 PM.

The article previously posted was PHP at Yahoo.

The next article is Supplemental Category Tags.

Many more can be found on the home page or by looking through the archives.

Powered by Movable Type