How can I turn of the breadcrumb menu? Ideally I would like it on in admin, and off elsewhere. Thanks,


Jeff Burnz’s picture

You need to do it with PHP in the page.tpl.php file; add a conditional wrapper such as:

<?php if (arg(0) == 'admin'): ?>
  <?php if ($breadcrumb): print $breadcrumb; endif; ?>
<?php endif; ?>
dvcroft’s picture

That's perfect. Thanks for your quick response.

colbykd’s picture

You could also, as I've done, simply add "display: none" to the ".breadcrumb" CSS in style.css around line 76.

Jeff Burnz’s picture

Just 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.

tlito’s picture

Issue summary: View changes

sorry, 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