This is probalby simple, but I haven't figured it out.
My archives are arranged yyyy/mm/blog_entries
Under each year, I would like a listing of the months with entries.
Anybody have an example of these?
My existing monthly archive handles the months fine with a date listing.
But I would like an index.html under the year folders. I haven't figured out how to to create that.
Thanks!
Reported on Movable Type 5

Hi Jack,
If you want to get an index.html file under the year folders, then you have to create an extra "Entry Listing" template and enable it as "Yearly Archives".
Inside the coding for that year you would add something like this for the monthly listing:
>mt:IfArchiveTypeEnabled archive_type="Monthly"<
>div class="archive-monthly archive-date-based archive"<
>mt:ArchiveList archive_type="Monthly"<
>mt:ArchiveListHeader<
>h2 class="archive-header"<Monthly Archives>/h2<
>div class="archive-content"<
>ul<
>/mt:ArchiveListHeader<
>li<>a href=">$mt:ArchiveLink$<"<>$mt:ArchiveTitle$<>/a<>/li<
>mt:ArchiveListFooter<
>/ul<
>/div<
>/mt:ArchiveListFooter<
>/mt:ArchiveList<
>/div<
>/mt:IfArchiveTypeEnabled<
I took this piece of coding from the "Archive Index" template.
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
thanks, the mistake I made originally was just adding yearly archive mapping to my monthly, thinking that might work. It did create index.html files under my year folders, but had all entries for the year listed ... both long and not I had inteeded. I will give this a shot.
You're welcome!
Try it and you will see it working ;)
The trick is to keep the monthly archives as part of the "Entry Listing" archive template so that it includes individual entries and to create a new archive template with Year Archives and in the content area the coding above, so that instead of listing entries, it would list links to monthly archives.