mu.nu - It's mackerel stewed in chocolate!

December 16, 2004

Alternate views

I would like to add an alternate view of my monthly archives which will display all comments. Creating the template is not a problem, but:

1. How do I tell MT that it is a monthly archive?

2. How do name the files (e.g. .../archives/include_comments_2004_12.php)?

3. Is there any way that I can do this without adding additional maintenance (e.g. by checking a query parameter, so I can use the same templace for both)?

Posted by: David Boxenhorn at 10:55 AM | Comments (10) | Add Comment | Trackbacks (Suck)

1 1. In the Archives tab of Weblog Config.

2. You use MT template tags for this, in the "Archive File Template" field on that page, with the "dirify" option. In this case, you'd have something like "archives/include_comments_" I don't remember exactly what the blah blah is...

3. Hmm.

Posted by: Pixy Misa @ at December 16, 2004 01:04 PM

2 Thanks, Pixy. It worked.

Posted by: David Boxenhorn @ at December 16, 2004 07:35 PM

Hide Comments | Add Comment






Processing 0.01, elapsed 0.0112 seconds.
22 queries taking 0.0088 seconds, 24 records returned.
Page size 6 kb.
Powered by Minx 0.8 beta.