Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
i wan't to disable the breadcrumbs one some of the pages, but not on all. Therefore i use an if statement like the following in page.tpl.php:
if (arg(1) != "151") if (arg(1) != "1"):
print $breadcrumb ;
endif;
It works fine on all pages, but not on my "forum homepage". The Forum-Hompage does not have an arg(1);
Can someone please help me with disabling the breadcrumb on my forum homepage?
I have ported my site to drupal, so I have problems with changed url's. I solved most of the problems with mod_rewrite, but for some pages the user gets: "Page not found". Now I want that on those pages the user gets displayed similar links. Therefore I installed the "similar"-module, but I don't know how my PHP-statement for block-visibilty has to look like. Any ideas?