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

Patroclas’s picture

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.

thesaint_02’s picture

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.

Patroclas’s picture

Sorry - I may have misunderstood. Do the stories each have multiple pages?

thesaint_02’s picture

No, each story has only one page. I just want a pager to jump from story to story.

Patroclas’s picture

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.