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 can I turn of the breadcrumb menu? Ideally I would like it on in admin, and off elsewhere. Thanks,
Darren
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedYou need to do it with PHP in the page.tpl.php file; add a conditional wrapper such as:
Comment #2
dvcroft CreditAttribution: dvcroft commentedThat's perfect. Thanks for your quick response.
Comment #3
colbykd CreditAttribution: colbykd commentedYou could also, as I've done, simply add "display: none" to the ".breadcrumb" CSS in style.css around line 76.
Comment #4
Jeff Burnz CreditAttribution: Jeff Burnz commentedJust thought I'd add that in the Drupal 7 version of Pixture Reloaded there are theme settings for controlling the visibility of the breadcrumbs - on the theme settings page you can turn them off, show them in admin only and configure the separator.
Comment #5
tlito CreditAttribution: tlito commentedsorry, can I ask why you did not add this option to AT Subtheme? I cannot see flag "Show breadcrumbs" on the settings page of AT Subtheme. I thaught this is more perfect than edit page.tpl.php.
This option exists in Zymphonies themes. Thank you