Recent Topics

1 Nov 06, 2005 07:12    

Okay, im really hopeless at searching these forums, i remember a post
talking about how to get the same effect

posts_nav_link_number();

on single pages.. if you goto http://www.lungshrimp.com

you can see numbers up th etop, but if you goto a direct link, say

http://www.lungshrimp.com/index.php/2005/10/28/fishy_arteries

it displays nothing (so i made some code to show a back to main link)

How can i get page numbers to come up on single posts(preferably for that particular category)??

2 Nov 09, 2005 15:29

Here's my best guess. Find that function, wherever you put it and edit this line:

 if( empty($p) && ($what_to_show == 'paged') && isset($MainList) ) 


to be

 if isset($MainList) ) 


Let me know if that works.

3 Nov 09, 2005 15:31

Could you delete your other forum post?

4 Nov 09, 2005 15:42

lol..

I dont seem to have such great luck on these forums -_-

Sorry, I would have deleted this post ifi could, i thought that i may of put this in the wrong section..

no it didnt work =/ (i have it in hacks.php)

isset($MainList) is false

5 Nov 09, 2005 16:46

It should be

 if( isset($MainList) )


I forgot that first parenthesis. But if that still doesn't work, try making it

 if( 1==1 )

6 Nov 10, 2005 02:47

Yah I made sure that was correct, my reply wasnt true,
mainlist returns true, then goes onto:


$max_page = $MainList->get_max_paged(); 
echo $max_page;
//$max_page traces as 1; 

So it just skips the whole code.

It seems its not seeing all the other posts because its in single post mode?


Form is loading...