Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How would I remove the book navigation at the bottom of the page? Both the next/previous link as well as the list?
I assume I could remove this somewhere in page.tpl.php or style.css
Attached is a screenshot
Comment | File | Size | Author |
---|---|---|---|
nav.JPG | 21.49 KB | birdmurmur |
Comments
Comment #1
birdmurmur CreditAttribution: birdmurmur commentedThe more I investigate the more I can articulate this.
One thing I need help with is figuring out how to remove the leaf nav for book pages in this theme.
Thanks!
Comment #2
danpros CreditAttribution: danpros commentedHi,
That is simple if you are using Firebug, since this tool will show you the ids or classes for any components.
Dan
Comment #3
danpros CreditAttribution: danpros commentedHi,
That remove the book navigation. I will close this.
Thanks,
Dan
Comment #4
mcjim CreditAttribution: mcjim commentedFor those who want to remove the actual markup rather than just hide it, here's a snippet to add to a custom module for your site (Drupal 6):
Comment #5
danilocgsilva CreditAttribution: danilocgsilva commentedThe code snippet doesn't worked. It returns that WSOD when accessing any Drupal page.
In the apache log, it returns the following:
[Fri May 10 10:01:16 2013] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_ISSET, expecting '(' in /home/danilo/sites/rdp/sites/default/modules/rededeprojetos/rededeprojetos.module on line 73, referer: http://rdp/node/8619
Didn't found any parentheses, brackets or braces over or less, that's what expected for this kind of error message.
It was a Drupal 6. Copied and pasted and just replaced the mymodule with my module's name (rededeprojetos, as seeing on the error message), to avoid code misspeling.
I just don't tried to run the snippet on a clean Drupal installation. I've just appended this snippet on the end of another custom module.
If someone can swear that is everything ok on the code snippet, so I pledge to test the snippet on a clean Drupal installation and see what will happen.
Thanks on advance!
Comment #6
bulat CreditAttribution: bulat commented