tips and tricks for movable type

pretty up my archive
May 01, 2002

I need to change the way I'm linking to my entries on my Master Archive Index on The Girlie Blog.

What the hell was I thinking when I did that? All those "view" links are just too damned annoying. Pffft.

While I'm at it, I need to make the Master Archives on this blog list all entries instead of just month and category. Otherwise, it's just redundant, since the same info is already present on the main page.

07.04.02: I made the changes to my Master Archives by Month and by Category on this blog. Want a peek inside the code?

Master Archive Index by Month:

<MTArchiveList archive_type="Monthly">
<a href="<MTArchiveLink>"><MTArchiveTitle lower_case="1"></a><br />
<MTEntries><MTEntryDate format="%d">:
<a href="<MTEntryLink archive_type="Individual">"><MTEntryTitle lower_case=1"></a><br />
</MTEntries><br />
</MTArchiveList>

Master Archive Index by Category:

<MTArchiveList archive_type="Category">
<a href="<MTArchiveLink>"><MTArchiveTitle lower_case="1"></a><br />
<MTEntries><MTEntryDate format="%m.%d.%y">:
<a href="<MTEntryLink archive_type="Individual">"><MTEntryTitle lower_case=1"></a><br />
</MTEntries><br />
</MTArchiveList>

Comments

I wanted to thank you. I've been searching for a way to accomplish re-organizing my master archive page for days now. While I'm not certain it is going to stay the way it I've got it now, thanks to you I now know how to tweak it to my heart's content.

by Kelly | 09.06.02 10:44 PM

Thx for sharing this information.
I used it for my main archive and it looks great now :)

by Yolanda | 10.29.02 01:56 PM

You've just saved me a lot of potential time-wasting and worry. MAJOR thanks! :)

by Fannio | 12.28.02 05:34 PM

The output from this script looks really great! By the way, I'm trying to get my 'archives by month' file to look like yours, but I simply can't figure out how to get MT to list the date, title, and excerpt instead of listing everything. Could you help me?

by David | 01.09.03 01:49 AM

Here's the basic code I'm using on my Monthly Archives here:

<MTEntries><a name="<$MTEntryID pad="1"$>"></a>
<a href="<MTEntryLink archive_type="Individual">"><MTEntryDate format="%m.%d.%y">: <MTEntryTitle lower_case=1"></a><p class="exc"><MTEntryExcerpt></p>
</MTEntries>
by girlie | 01.09.03 07:22 PM

thanks for the help! once again, the output from this page looks awesome!

by David | 01.10.03 02:42 AM

This is going to seem like THE dumbest question, but where do you put this script, and how do you create this page? I've pretty much customized my main index page, but I'm having a lot of trouble figuring out the archives part.

thanks.

by Sarah | 02.20.03 08:51 PM

I have both a Master Archive by Month and a Master Archive by Category - each of those is an Index Template I created (you probably already have a Master Archive Index Template - that's what I used as the basis for my new templates).

Does that help any?

by girlie | 02.24.03 07:46 PM

I tried using your Master Archive Index by Month and it didn't work.

You can see the errored output here:

http://www.floatingplanet.net/planetp2/archives_date_list.html

Not sure how to fix it.

by Paul | 04.28.03 01:38 AM

That code is default MT code, so it should work. And your URL gave me a 404 error.

by girlie | 04.28.03 05:31 PM

Doesn't work for me either. It's already May and it was still showing April so I took it off..

by iced-glare.org | 04.30.03 11:31 PM

What do you mean "it was still showing April"? It's supposed to be a listing of ALL your archives, so I would expect April to display along with every other month for which you have entries.

The code is taken straight from my own archive pages, and as you can see from those links, it works. If either of you have a working URL, I'd be happy to have a further look at it.

by girlie | 05.01.03 03:11 PM

Hi there, I'm having a little trouble with the Master Archive Index by Month tag. Instead of the month being the header, the blog's title becomes it. Also, the entries do not cluster by months but rather each have their unique title. I actually did not have this problem before (currently rebuilding my web site) do you have any idea what is going wrong ere ?

the link
http://wave.prohosting.com/mettars/blog/archivemonthly.html

Thanks, you have a lot of nice tips and tricks ere.
Jeremy

by Matters | 05.07.03 04:03 PM

Just a guess - is your Preferred Archive Type in Blog Configuration set to Individual?

I've updated the code to specifically access Monthly Archives just in case anyone is using a default type other than Monthly. Back when I first set this up, Monthly was my Preferred Type. =)

by girlie | 05.07.03 06:35 PM

Heh,
thats what i suspected as well, coz i was using monthly archives as my default previously

do you have any idea how i should play around with the code ? Of course, that is if it's not too much of a hassle.

Jeremy

by Matters | 05.07.03 08:29 PM

Did you try the change I made?

<MTArchiveList archive_type="Monthly">

Or am I misunderstanding your problem?

by girlie | 05.07.03 08:43 PM

Hi again, you mean the code which you written on the comments section ? Yes, i have, and while it does look slightly neater, its not what im aiming for. I would like to retain the individual archiving as my default preference, while having my monthly archives look like yours. Is that possible ?

Thanks again
Jeremy

by Matters | 05.08.03 05:40 PM

The very first code sample in my entry should do that exact thing. It's what I use in my Master Archive Index, and my default preference is Individual.

The link in your URL above looks very different from what my code results would look like. Looks like you have an <MTEntryExcerpt> tag in there?

by girlie | 05.08.03 06:14 PM

AWWWOOOGA!

cheers !
Jeremy

by Matters | 05.09.03 11:42 AM

I'm having problems here. I have the page
looking like I want it, but when I click on the link to the entry, I'm getting a page not found error.

http://www.familysynergy.com/archives.html

Thanks for any help you can give me :)

by Brooke | 05.26.03 06:23 PM

These are *so much* better than the plain listing of entry titles! Thank you!

by cheryl | 07.23.03 10:39 PM

this is exactly what I was looking for for my archive page... thanks so much!

by steph | 08.31.03 10:24 AM

thanks! this is a really neat way to list your monthly archives.

now, what do I do if I want a whole month's posts and not only the titles to show when I click on the month? (blogger's monthly archives style)

by lorena | 11.20.03 05:33 PM

Thanks Sarah for asking the not so dumbest question about where this goes. girlie, you are the bomb. Thanks for such great stuff.

by Lesli | 05.06.04 08:57 AM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 5
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/30)

» New archives
Excerpt: Ahhh ... I have redone all my archives and made them prettier. (Thanks to The Girlie Matters) Next stop: prettier comments page. Don't look at them now, they're hideous! ... You did anyway didn't you. Did you leave a comment...
Weblog: My Dog Can Blog?
Tracked: 07.29.03 02:49 PM

» MT Tweaks
Excerpt: To minimize the tehno-babble on this blog while keeping track of this behemoth project, here is the running list (reverse chronology) of modifications made to the default MT installation, links to corresponding snippets or plugins, and other technical ...
Weblog: patchwork progression
Tracked: 11.20.03 10:20 PM

» Lots of small updates to slowchildren.com
Excerpt: I spent the whole day working on my website. I'm such a goober. I didn't even leave my bedroom until 5:00pm. I polished up threads a bit, making page loads much faster. I cleaned up my css code a bit. I updated the 'archives' section of this site, chan...
Weblog: Slowchildren.com
Tracked: 01.09.04 03:43 AM

» New Trick to an Old Tip
Excerpt: So I am working on setting up a Sims 2 blog and while kicking around ideas for presenting the content I decided I would use the same archive layout I had chosen for RevHart. Thing is, I use subcategories and...
Weblog: Ex Libris Bitsy
Tracked: 01.22.05 10:29 PM

» New Trick to an Old Tip
Excerpt: So I am working on setting up a Sims 2 blog and while kicking around ideas for presenting the content I decided I would use the same archive layout I had chosen for RevHart. Thing is, I use subcategories and...
Weblog: Ex Libris Bitsy
Tracked: 09.08.05 11:46 AM