1 sims Mar 28, 2008 19:00
3 sims Mar 28, 2008 19:51
Hi John,
The code does start and end with php tags, this is why I cant understand it.
The blog is set to show 10 posts. I'm sure the idea of the previous and next links are for the single post view.
mmmmmm :-/
4 john Mar 28, 2008 20:02
There are two different "pages" tags, one for single post view which displays the titles of the Previous and Next posts and one which shows Pagination for the next page of 10 posts.....
I would grab the index.main.php from your original download and just check it against your installed one.
5 sims Mar 28, 2008 20:06
I'll look into that, for the moment I have added:
<?php
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links( array(
'block_start' => '<table class="prevnext_post"><tr>',
'prev_start' => '<td>',
'prev_end' => '</td>',
'next_start' => '<td class="right">',
'next_end' => '</td>',
'block_end' => '</tr></table>',
) );
// ------------------------- END OF PREV/NEXT POST LINKS -------------------------
?>
and it works. See under the feedback form: http://www.barnesnet.co.uk/index.php/members/2008/03/22/apache-optimization
(I was referring to the single post view) Looks like I had the two confused and didnt have the code in place. Thank for your help.
6 john Mar 28, 2008 20:11
Good stuff :)
Cheers
All I can suggest is that you do have that code starting with <?php and ending with ?>
Also, what is your setting for how many posts per page?