Recent Topics

1 Feb 16, 2006 23:21    

Hi,

I have three blogs on my site: Stories, Gigs, and Tangents

http://www.michaelgaither.com/b2/blogs/multiblogs.php

Gigs and Tangents are in the sidebar (I believe these are called Blog B and Linkblog in the template.

I just added a new (fourth) entry to Tangents (Linkblog), and now the earliest blog no longer appears. How can I adjust the php file to allow more (unlimited, if possible) blogs in the sidebar?

Thanks,

- Michael

2 Feb 17, 2006 03:36

Edit multiblogs.php and find the part that says

                $BlogBList = & new ItemList( $blog,      $show_statuses, '', $m, $w, '', array(), $author, $order, $orderby, $posts, '', '', '', '', '', '', '', '3', 'posts', $timestamp_min, $timestamp_max );


Change that 3 to something higher, like this:

                $BlogBList = & new ItemList( $blog,      $show_statuses, '', $m, $w, '', array(), $author, $order, $orderby, $posts, '', '', '', '', '', '', '', '9999', 'posts', $timestamp_min, $timestamp_max );


That bit of code exists for each blog that you're displaying, so you may have to make more than one edit to get all of your blogs showing more posts.

3 Feb 17, 2006 16:45

Perfect. All fixed.

Thanks so much.


Form is loading...