Generally any function that produces HTML should be a theme function, and this function produces HTML. Beyond that principle, I have a practical need to change the output of this function: I don't want to display node titles in slides.
Because this gets called from book_export_traverse, it can't be used directly as a theme function, so I changed the existing function to simply call a new theme function.
| Comment | File | Size | Author |
|---|---|---|---|
| theme.patch | 1.27 KB | sreynen |
Comments
Comment #1
hackwater commentedMakes sense, and the patch looks good. Will try to get it in the dev branch and get it tested soon.
Comment #2
hackwater commentedCommitted your patch; please test the dev release once it updates and let me know if it's behaving properly
Comment #3
hackwater commented