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
Comment #1
fgmWhy 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.
Comment #2
renatogHi guys.
I agree with @fgm in #1.
The book has this functionality and I believe that can be used.
Comment #3
renatogThank you very much for contribution guys and thank you for answer @fgm.
If anyone has any more questions please comment.
Good Work.
Regards.