Download & Extend

Output "type" instead of "content_type" in stats

Project:Hall of Fame
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:syscrusher
Status:closed (won't fix)

Issue Summary

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

Comments

#1

This is resolved in the HOF releases for newer Drupal versions. I just tested for the Drupal 6 version of HOF, and I believe (but have not specifically tested) that it's fixed in the D5 version as well. I no longer have a PHP environment old enough to support Drupal 4.7, so I need to close this issue. If someone with access to old PHP wants to contrib a carefully tested patch, however, I would accept it.

#2

Assigned to:Anonymous» syscrusher
Status:active» closed (won't fix)