Page 1 of 1

A traditional View of Archives

Posted: Mon Dec 11, 2006 9:43 pm
by destraynor
Hi all,
I am asking this here first just to make sure it hasn't been done already.
I'd like to be able to offer a "Complete Archives" view which basically lists every post on the blog, (all the way back to the start) and the date they were published.

Something like this....
http://joelonsoftware.com/Archive.html

would be grand, but if I could style it a little bit and get this...
http://www.37signals.com/svn/archives

then that'd be cool.

So is there a plugin, or a quick way to do this with the templates?

I only ask because several people have mailed me complaining that the current view is annoying (in that they have to click into each month, then into each entry, to print them)


Thanks in advance.

Des Traynor

(http://www.destraynor.com/serendipity)

Posted: Tue Dec 12, 2006 12:39 am
by carl_galloway
If you install the archives sidebar plugin, and then click the 'older' link you should see a page that resembles what you are looking for. This link can be placed statically into any template, and even better, you can easily copy the .tpl files needed into your theme and restyle them. The files you need to edit are entries_summary.tpl and entries.archives.tpl, they're pretty self-explanatory but feel free to ask any other questions once you've hada look at them.

Carl

Posted: Tue Dec 12, 2006 11:07 am
by garvinhicking
Hi!

You might also want to check out the "Custom Archives" event plugin which will give you a bar to control which and how many entries to display...maybe that also helps apart from what carl pointed out?

Regards,
Garvin

Posted: Tue Dec 12, 2006 3:45 pm
by destraynor
Coolio, thanks for that. I'll get back to you guys to let you know how I got on.

Posted: Tue Dec 12, 2006 4:04 pm
by destraynor
http://www.destraynor.com/serendipity/i ... p/archives

Right, what I am looking for seems to be a combination of the two tpl files Carl suggested.



entries_summary.tpl lists out each entry in a month, and entries_archive.tpl lists out the number of entries per month. What I'd like to is to list out each entry in each month, which means changing code from what I can tell.


I'll check out the event plugin now.