Re: [rasbro] How do you change value of "nextPageLink"?
Hi,
I've got that fixed. What was happening is because you were using the SEO url option, the link uses a "/" instead of a "?" and your URL was www.domain.com/blog/, not www.domain.com/blog/index.php.
If it was the second, your link would look like this:
www.domain.com/blob/index.php/page-2, which would work.
What I did was added this code to your file where you were outputting the links:
<?php $listDetails['nextPageLink']=str_replace("//","/index.php/",$listDetails['nextPageLink']);?>
What this does is put the index.php back into the url if it's not there already. The other option would be to turn off SEO urls.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/