Hi David,
Been scanning but never found anything,
Currently it shows prev 1 2 3 4 5 next is there any way that it shows every single page number, so if theres 100 pages then 100 numbers are there.
I think that this is better for SEO as the bots see all of the pages and goto each one in turn.
Regards
Mark
That will work,
Took your time man, thought you was being a lazy sod on a sunday afternoon, didn't no one tell you theres no rest for the wicked ;)
http://www.searchentertainment.co.uk/merchant/HMV/1.html
Thats what it looks like anyway, bit scarey 50 results per page and 1181 pages, glad I'm not doing 10 per page otherwise would probaly end up with god knows how many pages.
I hope you know if it wasnt for you creating such a script, I would have probaly been doing nothing but relaxing, but now I find myself uploading feeds, sorting out my other domains and doing a lot of work.
Oh well plenty of time for sleep when I'm dead I suppose ;)
Cheers David
Hi Mark,
In html/navigation.php, look for the following code, starting at line 30:
if ($page < 5)
{
$pageFrom = 1;
$pageTo = 9;
}
Replace this with:
if (1)
{
$pageFrom = 1;
$pageTo = $totalPages;
}
That's basically it, but you will have formatting issues because the navigation panel uses non-braking spaces to layout the numbers. To get around this, simply do a SEARCH & REPLACE with your text editor on this file, and replace:
...with an actual SPACE. It should then wrap as required rather than extend indefinitely to the right.
Cheers,
David.