Provide option to override default detail page with custom announcement template

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Postponed (maintainer needs more info)

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?

coupet’s picture

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.

nancydru’s picture

Title: Theme Annoucement » Theme Announcement

The module is using hook_theme - it's mandatory in 6.x. I just didn't split them out into separate files.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)