I have a weird problem. All the nodes of the same node type gets the latest page title set.

I'm using a custom sub theme to zen 5.x-1.0 for drupal 5.7.

function mysubtheme_preprocess_page(&$vars) {
  
  if (module_exists('page_title')) {
    $vars['head_title'] = page_title_page_get_title();
  }
  
}

Anyone got the same problem? Or know some things I can try? I have normal cache on the page, tried without cache, same result.

Comments

nicholasthompson’s picture

Very strange - I'll have to try Zen...

wayland76’s picture

Just to help with prioritisation; some of my sites use Zen, and I'd eventually like to add Page Title (after I migrate to 6.x for those sites).

nicholasthompson’s picture

Status: Active » Postponed

I personally dont know a lot about Zen - so I'll need to find time to learn it before I can debug this one. Postponing for now...

wayland76’s picture

@detot: Quick question -- I was under the impression that the _preprocess_page hooks only worked on 6.x; unless you know something I don't, this won't work on a 5.x install.

detot’s picture

zen template adds this in 5.0

detot’s picture

the latest alpha seems to fix this problem.

wayland76’s picture

Status: Postponed » Fixed

Lets call it fixed then.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.