meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| plugin:subjectlineplaceholder [2016/06/30 09:11] – created duncanc | plugin:subjectlineplaceholder [2024/05/20 00:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Subject Line Placeholder ====== | ||
| + | ---- plugin ---- | ||
| + | |||
| + | description: | ||
| + | author | ||
| + | email : alesikar@mac.com | ||
| + | type : | ||
| + | lastupdate : 2015-06-22 | ||
| + | compatible : 3.x | ||
| + | depends | ||
| + | conflicts | ||
| + | similar | ||
| + | tags : placeholder, | ||
| + | |||
| + | downloadurl: | ||
| + | bugtracker : https:// | ||
| + | sourcerepo : https:// | ||
| + | donationurl: | ||
| + | |||
| + | screenshot_img : | ||
| + | ---- | ||
| + | |||
| + | This plugin allows you to use placeholders for user attributes in the subject line of list messages. | ||
| + | |||
| + | ===== Installation ===== | ||
| + | |||
| + | Install the plugin using the [[plugin: | ||
| + | |||
| + | ===== Configuration and Settings ===== | ||
| + | |||
| + | None | ||
| + | |||
| + | ===== Discussion ===== | ||
| + | |||
| + | The placeholder is the attribute name in uppercase and enclosed in square brackets. If the replacement is to be in uppercase, there must be an ' | ||
| + | |||
| + | A message for subscribers in [CITY], [!STATE] | ||
| + | |||
| + | For a subscriber in Dallas, Texas, this would result in the subject line: | ||
| + | |||
| + | A message for subscribers in Dallas, TEXAS | ||
| + | |||
| + | Conditional placeholders are also supported, allowing an alternative replacement when an attribute has no specified value. | ||
| + | |||
| + | Thus [NAME? | ||
| + | |||
| + | **Note**: Can now use < | ||
| + | |||
| + | If upper case is specified by ' | ||
| + | |||
| + | No configurations or settings are required. | ||
| + | === Change Log === | ||
| + | |||
| + | * **2013-12-30** | ||
| + | * 1.0a1 - Initial release | ||
| + | * 1.0a2 - Very much simpler and shorter code | ||
| + | * 1.0a3 - Prevent trying to replace placeholders in system messages | ||
| + | * 1.0a4 - Added link to docs page and now use central parsing function | ||