Hi,

I understand this is not a references issue, which is why I flagged it "Misc". However, I was hoping to find some guidance here.

I am using node references to bind several chapters into a book. I do this by creating a node reference field on the book node-type and then listing the chapters in the order I desire. The question is how to generate a "previous" and "next" link when viewing a chapter-node. Is there an easy solution to this? Maybe with views? Or will I have to do an SQL query by hand to solve this?

Please note that with "book node-type" I do not refer to the book module but rather a custom node type I created through the interface.

Thanks,

Felix

Comments

fgm’s picture

Why do you not just use the core "book" module, which does just that ? books contain pages, which you can organize in chapters: just create a specific node type for chapter pages if you do not want them to be materialized and have these display as a redirect to the first child page: no need for more.

renatog’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community

Hi guys.

I agree with @fgm in #1.

The book has this functionality and I believe that can be used.

renatog’s picture

Status: Reviewed & tested by the community » Fixed

Thank you very much for contribution guys and thank you for answer @fgm.

If anyone has any more questions please comment.

Good Work.

Regards.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.