Move email templates into theme overrideable files

muhleder - September 21, 2009 - 14:37
Project:RSVP
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi again,

this patch should move the email templates into files which can be overridden by site admins by copying into a theme folder.

We also have some code (which lives in our custom module for the Pink Fridays site) which provides an admin settings page which combined with theme files lets you edit the templates from within Drupal. I'll upload these as zipped up files since we have this separate to the RSVP module, you should be able to work out what's going on with it pretty easily and incorporate it into RSVP if you want.

AttachmentSize
rsvp-email-templates.patch13.19 KB

#1

muhleder - September 21, 2009 - 14:50

And here is the code/theme files we're using to get the email templates into the admin interface. Not sure if this was already a feature of rsvp? We didn't need all of the email templates, so only a couple are provided here.

AttachmentSize
email_templates.zip 2.73 KB
bcc_event_email_templates.admin_.inc_.zip 772 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.