Here is what I did:

1) Added to sites/all/modules
2) Enabled on modules admin page
3) Edited a taxonomy term, where I found the new title field
4) Added the included php code to my theme's template.php file

I see no effect on a taxonomy page. Any ideas?

Comments

Status:Active» Postponed (maintainer needs more info)

Hi cwrstl,
can you cut / paste the code from your template.php? I can't really have any ideas until I can see what's going on :-)

Do you want the full file, or just what I added?

I need to see the whole _photemplate_varables function.
Jen

/**
* Override or insert PHPTemplate variables into the templates.
*/
function _phptemplate_variables($hook, $vars) {
  switch ($hook) {
    case 'page':
    // for TAXONOMY TITLE
    if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2)) && arg(2) > 0){
      // taxonomy term page - check for custom page title
      $title = _taxonomy_title_get_title(arg(2));
      if ($title != ''){
        // sets the meta title
        drupal_set_title($title);
        // assures the heading is also set
        $vars['title'] = $title;
      }
    }
    // for TAXONOMY TITLE
    break;
  }
  return $vars;
}

Update: Discussing this on IRC we discovered it was an issue with the template I'm using.

That should be working correctly, you might want to check that the $title variable is being printed correctly in your theme's page.tpl.php file. Look for a line that says something like...

<h2 class="ttile"><?php print $title; ?></h2>

If this line is missing, the title won't be printed at all.

Jen

Status:Postponed (maintainer needs more info)» Closed (fixed)