Blog Previous and Next links not working properly
9 posts by 2 authors in: Forums > CMS Builder
Last Post: April 28, 2008 (RSS)
By soj - April 27, 2008
http://74.54.199.50/~stormrep/index.php
The previous and next links are not directing to the correct pages. I have this blog section embedded in the homepage rather than the pageList viewer, which is probably the problem, but that's where I need it.
Any help would be appreciated! TIA!
soj
Re: [soj] Blog Previous and Next links not working properly
By Dave - April 28, 2008
interactivetools.com
Re: [Dave] Blog Previous and Next links not working properly
By soj - April 28, 2008
TIA, soj
Re: [soj] Blog Previous and Next links not working properly
By Dave - April 28, 2008
Make sure that the perPage and pageNum are set to blank as well.
interactivetools.com
Re: [Dave] Blog Previous and Next links not working properly
By soj - April 28, 2008
TIA, soj
Re: [soj] Blog Previous and Next links not working properly
By Dave - April 28, 2008
$options['pageNum'] = '';
What that will do is automatically get the page num from the url (index.php?page=2) or load page 1 by default.
Let me know if that does the trick for you.
interactivetools.com
Re: [Dave] Blog Previous and Next links not working properly
By soj - April 28, 2008
I was wondering, however, if it were possible to use a template other than the index page for the next and previous links. Thanks again!
soj
Re: [soj] Blog Previous and Next links not working properly
By Dave - April 28, 2008
<a href="yourNewPage.php?page=<?php echo $listDetails['prevPageLink'] ?>"><< prev</a>
<a href="yourNewPage.php?page=<?php echo $listDetails['nextPageLink'] ?>">next >></a>
Hope that helps!
interactivetools.com
Re: [Dave] Blog Previous and Next links not working properly
By soj - April 28, 2008
soj