Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Include custom field values in Approval email template
Status | Resolved |
Add-on / Version | Publisher Lite 3.7.2 |
Severity | |
EE Version | 6.3.2 |
Felix Edward Todd
Aug 23, 2022Our organization has numerous users set as “Publishers” within the Publisher Lite add-on.
In each entry, I have a custom field which allows the Editor to select which Publisher should review and approve the entry they’re editing.
I would like to include that field’s value as part of the approval email template.
See attached screenshot for my example.
BoldMinded (Brian)
Aug 23, 2022
Hi, Felix. I’m probably not going to go down the path of including custom fields in a template like this. I do have another extension that is unreleased that you may be interested in for scenarios like this. You can choose on a per channel basis who receives approvals. It isn’t per-entry like this, but it is per-channel, which might suite your needs. I can send you a copy of it if you want to try it out.
Felix Edward Todd
Aug 23, 2022
We would definitely benefit from the extension. Please send. Thanks!
Felix Edward Todd
Aug 23, 2022
Also, if this is not an upcoming feature, can you give me a hint as to how I could implement this one field’s value into my approval emails?
In Service/Approval/EntryApproval.php line 239, I can see there are parameters to pull information from the draft being sent for approval.
Is there a line I could add here to pull in the draft entry’s field value as a parameter?
BoldMinded (Brian)
Aug 24, 2022
I do not recommend editing a file like that, and if you do, I could void any support because I don’t know what you’re editing. You’re better off writing your own extension using the publisher_approval_send_options hook that is in the ApprovalAbstract.php file. If you’re going to go down that path though you won’t need this new extension.
Felix Edward Todd
Aug 24, 2022
Understood. Thank you for your help!