By thesaint_02 on
I'd like to display a "Next Story"/"Previous Story" above my story nodes. The stories should be sorted in descending order by creation date, so the "next" link should always lead to an older story. How would I do something like that?
I have already created a view that lists the stories in each language (I have a multilanguage site) in descending order. Could I use that view for generating the navigation?
Comments
You can use that view - all
You can use that view - all you need is a pager. Set it in the first column of the views UI. If your view is sorted by creation date, it should do what you want. If you want the pager in a different position you will need to create and then edit a template file for the view.
You do not say how the language options are set up - the pager may need to be adapted to work properly.
But the view displays a list
But the view displays a list of nodes - what I want is the pager to appear above the detail view of each specific node, where the url says ?q=node/15 etc.
Sorry - I may have
Sorry - I may have misunderstood. Do the stories each have multiple pages?
No, each story has only one
No, each story has only one page. I just want a pager to jump from story to story.
OK - maybe what you are
OK - maybe what you are looking for is Custom Pagers
http://drupal.org/project/custom_pagers
or even Views Slideshow
http://drupal.org/project/views_slideshow.