Why need to drupal_set_title ?

mrb@drupal.org - October 25, 2009 - 01:54
Project:Zoomify
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

'theme_zoomify' calls 'drupal_set_title'. Does it need to?

If I comment it out, it doesn't seem to cause any problems. When I click the 'zoomify' tab of the node, the node's title is still displayed correctly.

With the line in place, I get problems with another page I've built, http://gwulo.com/booth-tram-ride. It embeds a view that is a list of nodes, and some of those nodes display the zoomify viewer (see http://drupal.org/node/371818#comment-2116370). With the line commented out, you see the correct page title 'Views along the tram line in the 1950s'. With the line in place, the page title changes to the title of the last node in the list that showed a zoomify viewer, ie '1950s Causeway Road & Typhoon Shelter'

#1

kratib - October 25, 2009 - 17:56
Status:active» fixed

You're right. I removed it in the latest release (12 hours from now). Thanks for the suggestion.

#2

mrb@drupal.org - October 29, 2009 - 02:25

I confirm the new dev version fixes this. Thanks for the quick response.

#3

System Message - November 12, 2009 - 02:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.