Provide option to override default detail page with custom announcement template
I think you can already do this. The modules already uses a theme_announcements. And you can should also be able to create a node-announcements.tpl.php in your theme. There is also liberal use of CSS that should allow you to do just about anything.
Is there something I've missed?
It is probably OK and definitely faster. Drupal 6.x new hook registry (more themer friendly) http://drupal.org/node/114774#theme_registry allows for template parameter also http://api.drupal.org/api/function/hook_theme/6 has further info but example is not detailed.
The module is using hook_theme - it's mandatory in 6.x. I just didn't split them out into separate files.
Comments
Comment #1
nancydruI think you can already do this. The modules already uses a theme_announcements. And you can should also be able to create a node-announcements.tpl.php in your theme. There is also liberal use of CSS that should allow you to do just about anything.
Is there something I've missed?
Comment #2
coupet commentedIt is probably OK and definitely faster. Drupal 6.x new hook registry (more themer friendly) http://drupal.org/node/114774#theme_registry allows for template parameter also http://api.drupal.org/api/function/hook_theme/6 has further info but example is not detailed.
Comment #3
nancydruThe module is using hook_theme - it's mandatory in 6.x. I just didn't split them out into separate files.
Comment #4
nancydru