I’ve been able to edit the meeting confirmation email to make the links work properly and add some general formatting, but I’d also like to add the meeting location field. I’ve added {MEETING_LOCATION} to the template file but it doesn’t seem to be grabbing the field. Do I need to define “MEETING_LOCATION” somewhere or have I used the wrong code?
SuiteCRM Meeting - {MEETING_SUBJECT}
To: {MEETING_TO}
{ASSIGNER} has invited you to a Meeting.
Subject: {MEETING_SUBJECT}
Start Date: {MEETING_STARTDATE}
End Date: {MEETING_ENDDATE}
I noticed the meeting reminder notification includes the meeting location so I’m hoping I can just cut and paste the code that defines it there, over to the initial meeting confirmation! Thanks!
You probably had an old version of the templates lying around. If you check the current version it’s correct, I believe.
About the other file where you found
<p>Meeting Location: {MEETING_LOCATION}</p>
I don’t think that’s going to work… that variable isn’t really getting loaded into the email at all, I checked the code. Can you please confirm that with a test, see if Location appears empty in that meeting reminder notification also?
Then you could try applying Mike’s suggestion: just go into
modules/Meetings/Meetings.php
1.I added the line of code you suggested at line 635 in the meetings.php file
2. I added : " Location: {MEETING_LOCATION} "at line 110 in en_us_notify_template.html (without the quotes)
It works perfectly. Again. Thank you so much.
Oh, PS, I was using an old version of the html file, I had fixed this issue from a previous version, I see it’s fixed in the latest version of the file.