Is it possible to dynamcially modify the template?

Created on 27 July 2023, 11 months ago
Updated 30 January 2024, 5 months ago

Problem/Motivation

My use case is i want to set up a template and then have a modal form that my staff can open which displays the template body text but allow them to modify this text (in the modal form) before sending.

My workaround so far is i have a custom configuration field with the template body field text in it and i load that into the field on my modal form. Then on modal form submit this fills a field added to that message type. The tpl for that type is then simply just the token for this one field.

Haven't set this up yet but i sure it will work fine. It just seems like i should be able to do this using the message tpl field to set the "default" tpl rather than create new config values for each tpl.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024