Immovable Type?
September 24, 2007 3:39 PM
Subscribe
Movable Type question involving the counting and sequential numbering of entries within one specific blog on a multi-blog system.
Let's say I have six Movable Type blogs on the same system/install, each containing 100 entries.* I create a new seventh blog, with only 5 entries in that one. Within the individual entry archive template for the seventh blog, how do I structure my tags to output "this is
entry #N of
5 in this blog" on the resulting pages? (N would be replaced by the actual sequential order of that entry in the blog, such as "3 of 5", "4 of 5", etc., as determined by either the entry's published date or just the sequence in which the entry was added to the blog, it doesn't matter.)
It sounds simple (and maybe I'm missing something here), but the only likely tag I've found for this,
MTEntryID, exports the
system ID of the entry in question (which could be #703 or something, or 000703 if you use leading zeroes). That is, it's being counted sequentially relative to the overall install/system, and not to the one blog in which I'm interested.
I can get a
total count of entries within just the seventh blog -- the "...of 5..." part -- using
MTBlogEntryCount, so that's no problem. But isn't there something similarly blog-specific with regards to entry numbering?
*In actuality, the largest MT install I manage has 95 blogs on it and over 400,000 comments.
posted by Asparagirl to computers & internet (6 comments total)
The short answer is, though, there's no native tag for the count you want to display.
posted by anildash at 8:30 PM on September 24, 2007