MUniversity of Minnesota

November 30, 2004

Slight change to new blogs

Today I made a slight change to the new blog creation process. In the past, new blogs were setup to only display a certain number of days at any given time on a blog home page. The default was 7 days. This means that blogs created before today only show 7 days of posts on the blog home page by default. As a result, many blog owners have noticed that if they don't post regularly eventually their blog home page will only show one, two, or no posts at all. Of course, the default number of days can be changed, and I outlined how to do this in an old post: What can I do with the Weblog Config section?.

However, today I changed the default to not show a set number of days, but a default number of posts. I outlined this in an old post: How do I show a default number of posts on my blog home page?. I set the default to 10 posts. So blogs created now will always show a up to or a maximum of the 10 most recent posts no matter what. I did this by altering the <MTEntries> tag in the Main Index Template:


has been altered to look like this:

<MTEntries lastn="10">

If you would like to revert back to a set number of days of postings on your blog home page simply delete 'lastn="10"' from the <MTEntries> tag. For those of you with older blogs who would like to implement this functionality, follow the instructions in the post above.

Posted by snackeru at November 30, 2004 04:29 PM