On the archive page of typecho, I wrote the following output: {code...} but not paging. how can I paging? On the archive page of typecho, I wrote the following output:
widget('Widget_Contents_Post_Recent', 'pageSize=1000')->to($archives); $year=0; $i=0; $j=0; while($archives->next()): $year_tmp = date('Y',$archives->created); $y=$year; if ($year != $year_tmp && $year > 0) $output .= ''; if ($year != $year_tmp) { $year = $year_tmp; $output = ''. $year .''; } $output .= 'permalink .'">'. $archives->title .''.date('F jS ',$archives->created).'
'; endwhile; echo $output; ?>
But it cannot be paged. how can I paging?
Reply content:
On the archive page of typecho, I wrote the following output:
widget('Widget_Contents_Post_Recent', 'pageSize=1000')->to($archives); $year=0; $i=0; $j=0; while($archives->next()): $year_tmp = date('Y',$archives->created); $y=$year; if ($year != $year_tmp && $year > 0) $output .= ''; if ($year != $year_tmp) { $year = $year_tmp; $output = ''. $year .''; } $output .= 'permalink .'">'. $archives->title .''.date('F jS ',$archives->created).'
'; endwhile; echo $output; ?>
But it cannot be paged. how can I paging?
What kind of paging?