2 personman Jan 15, 2006 19:57

wow ! Thanks so much for this great reply. I'm really happy to hear there's a way to do it. Unfortunately, I really don't know how to use the information you've given me. Could you please give me a quick run down on how to add this into my _main.php file?
Thanks for all your help!
Sorry, I should have been more clear. I was in a hurry. Try this. Find this part of your _main.php file:
<?php // ------------------------------------ START OF POSTS ----------------------------------------
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
And add these line in between:
<?php // ------------------------------------ START OF POSTS ----------------------------------------
// You can restrict to specific categories by listing them in the two params below: '', array()
// '', array(9,15) will restrict to cats 9 and 15
// '9,15', array() will restrict to cats 9,15 and all their subcats
$MainList = & new ItemList( $blog, $show_statuses, '', $m, $w, '', array(), $author, $order, $orderby, $posts, '', '', '', '', '', '', '', '4', 'posts', $timestamp_min, $timestamp_max );
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
I haven't tested this, but I think that should do it.
You can do that, you just need to create a new object for the ItemList like so: