[MTOS-dev] More docs.... Archive Template Variables

Su hamletcomplex at gmail.com
Mon Apr 7 12:57:06 PDT 2008


[Sorry for those who see this twice. I sent to mt-dev rather than mtOS-dev
by mistake.]

[I'm shifting my comments to mtos-dev. Seems more appropriate here.
Message is quoted in full at bottom, everyone.]

Hey, Beau.
Finally had some time to take a proper look at this over the weekend,
and it's great. Didn't know this stuff was being created in the
system. I was always peeved by the magic variables, also. I have
questions! Surprise!

* I assume these variables fall in with anything I might specify with
MTVar? If so, that doc page should make it explicit. While most of
these variable names are pretty unlikely to be declared by users, I
/can/ imagine someone creating "page_id"

* Doesn't page_id really refer to a CLASS or TYPE of page? Am I
missing some deeper implication in that name, or are we just going to
disagree on terms?

* What does "main_template" refer to? I checked in the 4.1
WeblogPublisher and /every/ occurence of it is set to true, so I don't
have any counter-example to speculate from. Does it have something to
do with http://bugs.movabletype.org/default.asp?75115 ?

* Are these not available for Folders? The code's commented out in
4.1, and missing altogether in 4.15b1.

* This is kind of annoying:
author_monthly_archive: 1
module_author-monthly_archives: 1
category_monthly_archive: 1
module_category-monthly_archives: 1
...and so on for the other types.
Why the shifts from underscores to dashes in the archive types? And is
it too late to do something about?


So, on April 2, Beau was all like:
> Archive Template Variables
>
http://www.movabletype.org/documentation/designer/archive-template-variables.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.sixapart.com/pipermail/mtos-dev/attachments/20080407/ab0d1c9c/attachment.html 


More information about the MTOS-dev mailing list