Theme Announcement
coupet - May 28, 2008 - 13:42
| Project: | Announcements |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | NancyDru |
| Status: | by design |
Jump to:
Description
Provide option to override default detail page with custom announcement template

#1
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?
#2
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.
#3
The module is using hook_theme - it's mandatory in 6.x. I just didn't split them out into separate files.
#4