In our what should be titled "Add Users", both H1 and title both contain the value "Home". I have even tried to overide with another module's hook_menu_alter.

function hook_menu_alter(&$items) { 
   $items['og/users/%node/add_user']['#title'] = t('test');

Page.tpl.php is untouched:

<?php if ($title && !$is_front): ?>
   <h1 class="title"><?php print $title; ?></h1>
<?php endif; ?>

Any idea of other areas I should try?

enter image description here

  • What have you got set as your site home page? And do you have any custom modules? It looks like it is being overwritten by something else.
    – Darvanen
    Nov 25, 2014 at 0:55

1 Answer 1


This is what helped me in this particular situation, but I'd be open to mark another answer correct if anyone had a better option inside of a hook_form_alter().

// Force Title on the Add Users OG form. 
if ($form['#id'] == 'og-add-users') {
    drupal_set_title('Add Users');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.