This CodeLet will change the title of the User account page. It will consider and set user's 'username' as the titlte of the account page. Drupal offers this by default. But this can be used when some other modules have already modified the title.
CodeLet
<?php/** * @file * * Different tweaks for User account * * @author DrupalD <DrupalD@twitter> *//** * Implementation of hook_user * * @param $account * @param $view_mode * @param $langcode * @author DrupalD <DrupalD@twitter> */function users_utils_user_view($account, $view_mode, $langcode) { drupal_set_title($account->name);}?>
Info file details
name = User account Utilities
description = Different tweaks for User account.
core = 7.x