Use Drupal's localization module
Rather than alter the module source code, you should consider using the Drupal localization features, as described here:
In the case you describe, I believe that the title is controlled by the hook_node_info callback:
<?php
function ed_classified_node_info() {
// beware: these must match nodeapi value; name must be same as $node->type for spam module to add spam reporting links
return array(EDI_CLASSIFIED_MODULE_NAME =>
array('name' => t('Classified Ads'), // cannot call node_get_types() since it ends up calling this code.
'module' => EDI_CLASSIFIED_MODULE_NAME,
'description' => t('Contains a title, a body, and an administrator-defined expiration date')));
}
?>It's best to use the localization module to alter the text, rather than modify the module sources, because you will need to migrate your customizations to any new release.
Mike – Thu, 11/08/2007 – 6:47am


Recent comments
12 hours 10 min ago
5 days 16 hours ago
1 week 19 hours ago
1 week 2 days ago
1 week 5 days ago
2 weeks 2 days ago
2 weeks 3 days ago
2 weeks 4 days ago
2 weeks 5 days ago
4 weeks 2 days ago