Using predefined variables of MT’s template

| No Comments | No TrackBacks

Masashi Yanagiya, known as "Mersy", wrote an entry about the template technique, on the "Linker" journal.

In that entry, he wrote about the method of setting archive templates.

You can set your process of publishing archive template in line with the MT's predefined variables.

For example, if you want to publish archive pages only i fthey are archive listing pages, this would be effective:

<mt:if name="archive_listing">
foobar
</mt:If>

Also mersy tried to use regex synopsis;

<mt:if name="archive_class" like="^(entry_template | datebased_monthly_archive)">
foobar
</mt:If>

Please check out his article for more detail information.

There are some articles about predefined variables of MT in MovableType.jp's page. It is written only in Japanese but it is worth trying to read with some translating service.

(Because I couldn't find the same information at the MT.org)

BTW, linker is a name of Japanese design unit, and they are familiar with Movable Type so they often use MT for their website developing works.

No TrackBacks

TrackBack URL: http://www.mt-j.info/mt/mt-tb.cgi/56

Leave a comment

About this Entry

This page contains a single entry by nick published on March 3, 2010 10:00 PM.

Using a MT's id and password for a basic authentication was the previous entry in this blog.

The Huffington Post is developed by MT is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.