Timeline for Navigate to next page / previous page based on entity reference field instead of Book module
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S May 30, 2020 at 2:56 | history | bounty ended | Patrick Kenny | ||
S May 30, 2020 at 2:56 | history | notice removed | Patrick Kenny | ||
May 28, 2020 at 2:07 | comment | added | Darvanen | In that case yeah, NoSssweat's answer is a decent one. | |
May 27, 2020 at 1:17 | comment | added | Patrick Kenny | @Darvanen I asked about approaches to menus in this question: drupal.stackexchange.com/questions/293960/… | |
May 26, 2020 at 22:45 | comment | added | Darvanen | Have you considered using a menu for each chapter? or, even better, a single menu with multiple levels where level 1 = chapter and level 2 = page? Menus are great in that they automatically handle the 'active trail' (showing which page you're currently on) and there are heaps of contrib modules around menus. I suspect this is why the 'book' module has become relatively defunct. | |
May 25, 2020 at 15:00 | history | tweeted | twitter.com/StackDrupal/status/1264934313499529216 | ||
May 25, 2020 at 13:24 | vote | accept | Patrick Kenny | ||
S May 25, 2020 at 13:23 | history | bounty started | Patrick Kenny | ||
S May 25, 2020 at 13:23 | history | notice added | Patrick Kenny | Reward existing answer | |
May 24, 2020 at 20:32 | answer | added | No Sssweat | timeline score: 4 | |
May 23, 2020 at 13:44 | comment | added | prkos | I haven't tried it but I think you should be able to use Views to create this. Since Chapter with you is the Child, Pages are Parents you need to create a list of Aunts and Uncles? Usually this type of setup is done by structuring the Pages to be Children, and Chapters Parents so you're looking to list the siblings. There are answers/tutorials about listing siblings, maybe that can push you in the right direction. After you have the list of correct Aunts/Uncles you use the ER field weight property to get the order, you might need a Relationship to pull that in. And figure out which are closest | |
May 23, 2020 at 12:38 | history | asked | Patrick Kenny | CC BY-SA 4.0 |