Email Template Insert Variables only going into Subject line #5311

Open
opened 2026-02-20 16:59:30 -05:00 by deekerman · 2 comments
Owner

Originally created by @markbond1007 on GitHub (Mar 24, 2025).

Issue

When using the Template Variables in the Email Templates OR the campaign editor the insert button doesnt work as expected, it only adds the variables to the subject line and NOT in the Mosaik editor interface.

Possible Fix

No response

Steps to Reproduce the Issue

1. Create or Edit an email template or campaign
2. Edit some text using the Mosaik editor
3. Position the cursor where you want the variable to be.
4. Choose your variable and click Insert
5. It appears in the Subject line and not the Body editor.
...

Context

No response

Version

8.8.0

What browser are you currently using?

Chrome

Browser Version

No response

Environment Information

PHP8.2, MariaDB

Operating System and Version

Linux

Originally created by @markbond1007 on GitHub (Mar 24, 2025). ### Issue When using the Template Variables in the Email Templates OR the campaign editor the insert button doesnt work as expected, it only adds the variables to the subject line and NOT in the Mosaik editor interface. ### Possible Fix _No response_ ### Steps to Reproduce the Issue ```bash 1. Create or Edit an email template or campaign 2. Edit some text using the Mosaik editor 3. Position the cursor where you want the variable to be. 4. Choose your variable and click Insert 5. It appears in the Subject line and not the Body editor. ... ``` ### Context _No response_ ### Version 8.8.0 ### What browser are you currently using? Chrome ### Browser Version _No response_ ### Environment Information PHP8.2, MariaDB ### Operating System and Version Linux
Author
Owner

@johnM2401 commented on GitHub (Mar 25, 2025):

Hey!
Thank you for raising this.
I'm able to replicate this in both Suite8 and Suite7

Just to let you know, I've transferred this over to the SuiteCRM7 Repo as this issue affects both SuiteCRM8 and SuiteCRM7.
Meaning that, fixes to this issue applied to SuiteCRM7 will then also pulled into SuiteCRM8.

Thank you again!

@johnM2401 commented on GitHub (Mar 25, 2025): Hey! Thank you for raising this. I'm able to replicate this in both Suite8 and Suite7 Just to let you know, I've transferred this over to the SuiteCRM7 Repo as this issue affects both SuiteCRM8 and SuiteCRM7. Meaning that, fixes to this issue applied to SuiteCRM7 will then also pulled into SuiteCRM8. Thank you again!
Author
Owner

@BastianHammer commented on GitHub (Dec 21, 2025):

Hi,

I've seen this in 7.15 only:

Image

In 8.9.1 it's working as expected:

Image
@BastianHammer commented on GitHub (Dec 21, 2025): Hi, I've seen this in 7.15 only: <img width="1890" height="483" alt="Image" src="https://github.com/user-attachments/assets/e78abefb-1596-4b0b-94d9-9c9da6f1384f" /> In 8.9.1 it's working as expected: <img width="1909" height="527" alt="Image" src="https://github.com/user-attachments/assets/d713adde-9bc3-4d43-9d7b-4017c3eefa3e" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5311
No description provided.