Output "type" instead of "content_type" in stats

marcoBauli - September 17, 2006 - 14:21
Project:Hall of Fame
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

This is a issue about comatibility with CCK content-types:

actually when browsing HOF statistics, each conent type name is outputted as "content_type", so for example if a type is called "accessories", it is outputted as "content_accessories".

Could be possible to display just the real title of the content type instead of it's sql name?

I had a look at the core node.module (in the "add content" page node titles are outputted nicely without any "content_" prefix!), but no developer, so don't know really on what to put my hands on...

(as far as i got, core node.module uses $node->title, while HOF.module uses directly a sql query to get types names)

Thank you very much

 
 

Drupal is a registered trademark of Dries Buytaert.