View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18345 | Bug reports | Expression Manager | public | 2022-09-12 19:52 | 2022-09-19 11:03 |
Reporter | Mazi | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.3.x | ||||
Summary | 18345: Missing email placeholder for "Reminder count" | ||||
Description | There are many placeholders you can use at your email templates but an option to include the number of reminders sent is missing. Thing is that sometimes you want to add a note like "We had already reminded you XXX times to take the survey...". Since other variables are available, I consider this a bug, not a missing feature ;-) | ||||
Steps To Reproduce | Steps to reproduceTry adding a placeholder like {REMINDERCOUNT} to yur email templates. Expected resultShow the reminder count value. Actual resultNothing happens since this placeholder is currently missing. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 5.3 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MariaDB 10.1.48 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.1.6 | ||||
related to | 18351 | closed | adamzammit | Extra token placeholder show as invalid in expression |
Can you test with {TOKEN:REMINDERCOUNT} ? It work inside survey (but shown as error). like {TOKEN:SENT} or {TOKEN:REMINDERSENT} |
|
@DenisChenu: Thanks a lot for the very helpful input! |
|
Also the manual seems to be outdated. Can someone check the source code which placeholders are actually supported but not yet listed at https://manual.limesurvey.org/Email_templates#Email_Placeholders? |
|
Yes , i have to report this issue since month now …
All database column are supported currently, except PARTICPANTID because Expression disable usage of in attribute (except for attribute_X) |
|
@DeniChenu, where can we see the exact syntax for every placeholder? I could then update the manual. |
|
PS : looking at code : seems {REMINDERCOUNT} can work but shown as red ? Can you test ? |
|
@DeniChenu, yes, REMINDERCOUNT also works fine but is marked red as well. Does that mean we can simply use the column name in capital letters for every column but TID? |
|
Yes the only exception in participant_id because the underscore. {MPID} too (never updated by LS) |
|
Placeholder list updated at https://manual.limesurvey.org/Email_templates#Email_Placeholders |
|
Thank you ! Why you don't add MPID ? I add " in ISO8601 format with time (Y-m-d H:i:s in PHP)" for the 2 dates ;) |
|
I can not assign it to you ? I create the RED alert issue https://bugs.limesurvey.org/view.php?id=18351 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-09-12 19:52 | Mazi | New Issue | |
2022-09-12 20:02 | DenisChenu | Note Added: 71685 | |
2022-09-12 20:02 | DenisChenu | Bug heat | 0 => 2 |
2022-09-12 20:03 | DenisChenu | Note Edited: 71685 | |
2022-09-12 23:49 | Mazi | Note Added: 71693 | |
2022-09-12 23:49 | Mazi | File Added: image.png | |
2022-09-12 23:49 | Mazi | Bug heat | 2 => 4 |
2022-09-12 23:51 | Mazi | Note Added: 71694 | |
2022-09-13 09:08 | DenisChenu | Note Added: 71695 | |
2022-09-13 09:52 | Mazi | Note Added: 71697 | |
2022-09-13 10:04 | DenisChenu | Note Added: 71698 | |
2022-09-13 10:04 | DenisChenu | Assigned To | => DenisChenu |
2022-09-13 10:04 | DenisChenu | Status | new => assigned |
2022-09-13 10:35 | Mazi | Note Added: 71699 | |
2022-09-13 12:00 | DenisChenu | Note Added: 71701 | |
2022-09-14 12:49 | Mazi | Note Added: 71725 | |
2022-09-14 15:35 | DenisChenu | Note Added: 71753 | |
2022-09-14 15:51 | DenisChenu | Relationship added | related to 18351 |
2022-09-14 15:52 | DenisChenu | Assigned To | DenisChenu => |
2022-09-14 15:52 | DenisChenu | Status | assigned => resolved |
2022-09-14 15:52 | DenisChenu | Resolution | open => fixed |
2022-09-14 15:52 | DenisChenu | Note Added: 71755 | |
2022-09-19 11:03 | DenisChenu | Assigned To | => DenisChenu |
2022-09-19 11:03 | DenisChenu | Status | resolved => closed |