19 February 2013

How to override page title in your theme, after all modules have done their jobs.

Source code viewer
  1. /**
  2.  * Implements theme_preprocess_html().
  3.  */
  4. function THEME_preprocess_html(&$vars) {
  5. // This variable includes the title, write here anything you want.
  6. $vars['head_title'] = 'Browse Tutorials';
  7. }
Programming Language: PHP