Allow each content type to have different talk tab title

GregoryHeller - May 21, 2009 - 16:56
Project:Talk
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

It would be great if the talk tab for each content type could be customized, i would envision the settings would be found on each content type in the "comments" collapsed field set along with the "display comments in separate talk tab".

It would also be great if the talk tab text setting could use tokens for things like content type.

#1

greggles - July 6, 2009 - 02:07

I've provided the ability to use tokens in various places in #506658: Customizable titles everywhere using tokens.

It seems like this whole area of providing customization of this text is a very, very common request. I think one solution would be as attached, making the different titles a theme function. The theme function would have to get a handful of items including the node object so that it could be intelligent about how to override this.

@GregoryHeller - @cwgordon7: thoughts on this idea? If you like it I'll happily make a patch.

#2

greggles - July 15, 2009 - 14:22
Status:active» duplicate

I don't know what I meant by "as attached" but I think this should be a duplicate of the token issue. Tokens will give 90% of what people need and if they need more, they can write a custom token implementation to provide exactly what they need.

 
 

Drupal is a registered trademark of Dries Buytaert.