All the nodes (of the same type) gets the latest page title

detot - April 17, 2008 - 10:32
Project:Page Title
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

nicholasThompson - April 17, 2008 - 10:39

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

#2

wayland76 - May 5, 2008 - 07:29

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).

#3

nicholasThompson - May 5, 2008 - 11:57
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...

#4

wayland76 - May 5, 2008 - 12:20

@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.

#5

detot - May 23, 2008 - 12:32

zen template adds this in 5.0

#6

detot - May 23, 2008 - 12:32

the latest alpha seems to fix this problem.

#7

wayland76 - May 24, 2008 - 02:35
Status:postponed» fixed

Lets call it fixed then.

#8

Anonymous (not verified) - June 7, 2008 - 02:42
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.