You are hereBlogs / Andy's blog / New Feature: Blog Archive

New Feature: Blog Archive


By Andy - Posted on 28 September 2008

I have been looking for a way to get an archive list of blog posts, sort of like what you see form some of the popular blog systems like WordPress or BlogSpot.

The Drupal Archive module gets close. It displays a calendar (that is always open) with links to content lists for that day. It's close, but not nearly as convenient as clicking a single link for a year & month.

There aren't any other modules that provide this function out of the box so I had to turn elsewhere. Then I found the Views module. For those who don't know, Views is a way of dynamically building lists and other groups of content for display in pages or blocks. You can filter the query for any content attribute, e.g. user, owner, tag, and content type. Combine that last one with CCK and you get some really powerful dynamic content management.

In a matter of about 15 minutes I had exactly what I wanted. An archive of blog content rolled up by month and year with number of blog entries in parentheses. You can see the block over on the right side bar.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Slideshows can be added to this post.
  • You can display your Xbox Live Gamertag by typing [gamertag:id]

More information about formatting options