1 akeldama Jan 07, 2007 18:56
3 akeldama Jan 07, 2007 19:50
Thanks.
Haven't quite got it working yet as it gives the error:
"Parse error: syntax error, unexpected '<' in _main.php on line 127"
Though looking at your code I can't see where there is an extra one.
4 edb Jan 07, 2007 21:49
Make it be
<?php
if( !empty( $disp ) && !empty( $page ) && $disp == 'single' && $page > 1 )
{
link_pages( '#', '#', 'next please!');
}
?>
The <?php and ?> inside the if thing are probably the cause of the problem.
5 akeldama Jan 08, 2007 00:00
Thanks.
No error messages now.
The page numbers disappear from the index page, which is all well and good.
Unfortunately though they disappear / and there's no "next page" style alternative on page 1, no way to get to the second page.
6 yabba Jan 08, 2007 09:43
lol, cheers EdB :cookie:
I'm unclear as to exactly what you want, but try changing the code to :-
<?php
if( !empty( $disp ) && $disp == 'single' )
{
link_pages( '#', '#', 'next please!');
}
?>
¥
7 akeldama Jan 08, 2007 11:12
Thanks. What I want is very similar to what you've supplied in your last post. But it does have a problem.
This solution doesn't show the whole of page 1, instead it only shows the content before a <more> tag.
crack open skins/<skin name>/_main.php and find a bit of code that looks like this :-
And change it to look like this :-
¥