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
Description

Provide option to override default detail page with custom announcement template

#1

NancyDru - May 29, 2008 - 13:35
Assigned to:Anonymous» 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?

#2

coupet - May 29, 2008 - 16:05

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

NancyDru - May 29, 2008 - 23:58
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.

#4

NancyDru - June 9, 2008 - 22:51
Status:postponed (maintainer needs more info)» by design
 
 

Drupal is a registered trademark of Dries Buytaert.