Hello,

I've noticed that when I have a list of teasers, whether generated manually or by views, the title of the page changes to the title of the last teaser. Somewhere the drupal_set_title function is called on a teaser. Where can I change that and only have this happen on a full-node view?

Thanks,
Andrey.

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

Check the theme page.tpl.php and node.tpl.php file. The title should only be set in the page.tpl.php file.

mr.andrey’s picture

Project: Drupal core » Organic groups
Version: 5.2 » 5.x-4.0-rc5
Component: node system » og.module
Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Active

Hmmm.. I just disabled Organic Groups, and all the page titles show up as they're supposed to.

I'll refile this under OG, see if anyone else is experiencing this.

Thanks,
Andrey.

phasmaphobic’s picture

I am experiencing the same thing, with the same results if I disable OG. The "teaser list" always returns the last entry on the list's title as the full page title.

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

maybe this is a Views bug. og does not set a title unless $page is TRUE. see og_nodeapi