Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.7
-
Fix Version/s: 3.0
-
Component/s: CiviContribute, CiviEvent, CiviMember
-
Labels:None
Description
Rationale
=======
Currently the "subject" text for most receipts / confirmations are set in template files - so they're easy to modify if needed. However, offline contribution receipts, offline membership signup and offline event registration share a single tpl file (templates/CRM/Contribute/Form/OfflineReceiptSubject.tpl) with hard-coded subjects passed in from the 3 PHP files.
Implementation
============
1. Create separate offline subject template files for offline event registration and membership signup. Move hard-coded subject from PHP files into each tpl file.
2. Assign additional useful variables to the templates so users can add more info by modifying tpl files:
- for event registration, assign event title ($title)
- for membership, assign membership type ($membershipType)