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.
By n1ckyb0y on
Hi
I have modified the page tpl.php file so that the page title does not appear on the home page by adding this code - if ($title!='Home Page'): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif;
-
Can anyone tell me how to make it so that the page title does not appear on a series of pages?
Nick
Comments
Have you tried this mode
Have you tried this mode http://drupal.org/project/page_title
--
Cheers,
Sivanandhan, P. (a.k.a. apsivam)
For the front page you can
For the front page you can change the test to
if ( !$is_front )
so you that if the home page title changes the code still works.