 |

soj
User
Apr 27, 2008, 11:20 AM
Post #1 of 9
(289 views)
Shortcut
|
|
Blog Previous and Next links not working properly
|
Can't Post
|
|
I'm having some trouble getting my blog links and css to work on a customized blog despite using the full URL in all the links. 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
|
|
|  |
 |

Dave
Staff
/ Moderator

Apr 28, 2008, 9:11 AM
Post #2 of 9
(272 views)
Shortcut
|
|
Re: [soj] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
They're not showing up as links at all for me? Do you have multiple viewers on that page? What version are you running? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

soj
User
Apr 28, 2008, 2:52 PM
Post #3 of 9
(268 views)
Shortcut
|
|
Re: [Dave] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
Hi Dave, I'm running version 1.12. Ooops, the second entry got deleted. Try it now, if you would be so kind, I've created 2 more test entries. TIA, soj
|
|
|  |
 |

Dave
Staff
/ Moderator

Apr 28, 2008, 3:04 PM
Post #4 of 9
(266 views)
Shortcut
|
|
Re: [soj] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
Can you attach the file? Make sure that the perPage and pageNum are set to blank as well. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

soj
User
Apr 28, 2008, 3:24 PM
Post #5 of 9
(265 views)
Shortcut
|
|
Re: [Dave] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
Here ya go. The number of pages is set to 1. That's what I needed for this site. TIA, soj
|
|
Attachments:
|
index.php
(8.60 KB)
|
|
|
breakingPage.php
(7.22 KB)
|
|
|  |
 |

Dave
Staff
/ Moderator

Apr 28, 2008, 3:32 PM
Post #6 of 9
(264 views)
Shortcut
|
|
Re: [soj] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
Ok, try setting pageNum to blank like this: $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. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

soj
User
Apr 28, 2008, 4:31 PM
Post #7 of 9
(263 views)
Shortcut
|
|
Re: [Dave] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
Yes it did! 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
|
|
|  |
 |

Dave
Staff
/ Moderator

Apr 28, 2008, 4:36 PM
Post #8 of 9
(262 views)
Shortcut
|
|
Re: [soj] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
You bet, just create the page you want and replace the prev/next links with this: <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! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

soj
User
Apr 28, 2008, 7:02 PM
Post #9 of 9
(260 views)
Shortcut
|
|
Re: [Dave] Blog Previous and Next links not working properly
[In reply to]
|
Can't Post
|
|
Perfect! Thanks so much! soj
|
|
|  |
|