ive seen how it displays the title of the next entry and the previous entry when leaving a comment...but how would i make it do the same at the bottom?
(Page 1 of 2, totaling 7 entries) » next page
so instead of next page it would be the name of the first entry ON that next page
so for instance it would Be (Page 1 of 2, totaling 7 entries) » Welcome
and the same way for the previous only it show the title of the last entry on the previous page
« Immigration Reform (Page 2 of 2, totaling 7 entries)
Next Page Link
It'd take some plugin or patching work, I think. The problem is that the entries on the next and previous page are not available in the template.
It's more than I can take on right now, but in includes/functions_entries.inc.php you can find where we set footer_next_page and footer_prev_page. If you can figure out how to get the next/previous title, you could add it to additional variables, like footer_next_page_title and footer_prev_page_title. Then you could replace {$CONST.NEXT_PAGE} with {$footer_next_page_title} in your entries.tpl.
It's more than I can take on right now, but in includes/functions_entries.inc.php you can find where we set footer_next_page and footer_prev_page. If you can figure out how to get the next/previous title, you could add it to additional variables, like footer_next_page_title and footer_prev_page_title. Then you could replace {$CONST.NEXT_PAGE} with {$footer_next_page_title} in your entries.tpl.
-
deadpoeticstar
- Regular
- Posts: 56
- Joined: Tue Apr 18, 2006 3:10 pm