Meetin reminder missing link

Hi,

I have realized that meeting reminder does not contain link.
Acceptance mail, and assignment mail do.

Not to be lazy, I have searched the google, came up to file:
custom/include/language/en_us.notify_template.html

and modified template:

<!-- BEGIN: MeetingReminder -->
<p>
    Title: {MEETING_SUBJECT}<br />
    When: {MEETING_STARTDATE}<br />
    Location: {MEETING_LOCATION}<br />
    Created By: {MEETING_CREATED_BY}<br />
    {MEETING_PARENT_TYPE}: {MEETING_PARENT_NAME}<br />
    URL is: <a href={URL}>LINK</a><br />   //MY CHANGE
</p>
<p>You may <a href={URL}>review this Meeting</a>.</p>  //MY CHANGE
<!-- END: MeetingReminder -->

However, text is shown but no link. Same code, same line is in assigmend part of template and that is parsed OK.
Then I have tried to modify:
modules/Meetings/Meeting.php

and added

$xtpl->VARS["URL"]= $sugar_config['site_url'].'/index.php?action=DetailView&module=Meetings&record&record='.$meeting->id;
$xtpl->assign("URL", $sugar_config['site_url'].'/index.php?action=DetailView&module=Meetings&record&record='.$meeting->id)

but no help.

Has anyone done it, or knows what else should be changed?

Best regadrs,
Filip

Suite version: 7.9.4

You may need to write
global $sugar_config;
before using it.

There is all necessary code in function:


function set_notification_body($xtpl, &$meeting) {
		global $sugar_config;
		global $app_list_strings;
		global $current_user;
		global $timedate;

It seems that either this function is not called when a reminder is set, or the reminder data are populated from somewhere else.

Did you solve that problem?
im looking the same vars

It is a deal breaker for me, too.
Can anyone help me with this situation?Thanks

The reminder template is populated in modules/Activities/EmailReminder.php

That’s not the answer I want. Thanks

Have you found a way?thanks