By jmbuytaert on
Hi everyone,
I'm trying to get the same "pagination" from the books module into my own content type. The page node-book.tpl.php has the one variable $content that displays all of the variables that are available for that content type, except for the actual pagination that is coming from book-navigation.tpl.php.
Does anyone know how to get this book-navigation into my own content type template? I've been struggling with this for way too long now, and I'm wasting time trying to figure this out. Your help would be greatly appreciated.
Regards,
jm
Comments
Let me rephrase that...
I guess what I'm trying to say is: how does Drupal put the book-navigation into that
$contentvariable in node.tpl.php (that I copied and renamed node-book.tpl.php for my custom template)?Let me also ask, as I
Let me also ask, as I believe it is in the same vein, how would one move the pagination from the bottom of the $content stack so that it displayed at the top of the page and not the bottom?
"Never Attribute to Malice, That Which is Easily Explained by Stupidity."
Devel is your friend!
Recommendation: use the theme developer feature of the devel module. With this you can lock down what theme functions or template suggestions you need to override.