Recent Topics

1 Feb 05, 2007 10:14    

To change my firstpage from 5 posts per page I use this code

<?php // ------------------------------------ START OF POSTS ----------------------------------------
	if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
$MainList = & new ItemList( $blog,	 $show_statuses, '', $m, $w, '', array(), $author, $order, $orderby, $posts = 2, '', '', '', '', '', '', '', $unit, $timestamp_min, $timestamp_max );

	if( isset($MainList) ) while( $Item = & $MainList->get_item() )
	{
		
		locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
	?>

But then I cant use nav links and msgform on my skin. So I would appriciate some help :) Thanks

2 Feb 05, 2007 11:20

what are you trying to do?

3 Feb 06, 2007 11:40

With this line

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

I do so that on my firstpage I only se 2 posts. But with this method I cannot get navlinks or msgform link working... So i was wondering if there was a way to get those two parts working


Form is loading...