I'm wondering how I can let users exit the Book activity from chapter/page, rather than them having to click through to the last chapter where the exit icon is.
I see it's been done before (https://moodle.org/mod/forum/discuss.php?d=230652), but I guess the code has been updated since 2014, and I'm wondering which part I now need to copy and paste.
Also – when I exit the book, it is taking me to
/moodle/course/view.php?id=3§ion=1. I assume it's trying to take me back to the Topic the book is in, but it's taking me back to beginning of the course. The topic I want it to take me to is
Is this something I need to edit in the code?