AnsweredAssumed Answered

Changes to Meeting Reminder Template are not taking

Question asked by SpockPT SpockPT on Jun 12, 2014
Latest reply on Sep 9, 2014 by Sizílio Sizílio
Hi,

I wanna change my Meetings Reminder Template and this is what i have done so far...

(I know it isn't upgrade safe... but that is not a problem for now)

(is in Portuguese but you can get the point)
@custom/include/language/pt_PT.notify_template.html

...
<!-- BEGIN: MeetingReminder_Subject -->
Lembrete de Reunião - {MEETING_SUBJECT}
<!-- END: MeetingSpecial_Subject -->
<!-- BEGIN: MeetingReminder -->
Assunto: {MEETING_SUBJECT}
Data: {MEETING_STARTDATE}
Relacionado com: {RELACIONADO_COM}
Local: {MEETING_LOCATION}
Criado por: {MEETING_CREATED_BY}
Descrição: {MEETING_DESCRIPTION}

Link da Reunião: {LINK_PARA_REUNIAO}
<!-- END: MeetingReminder -->
...
@modules/Meetings/Meeting.php
...

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

         return $xtpl;
...

The problem? Sugar isn't populating those fields. Those 2 extra fields come blank... when i 'inspect' the $xtpl var it is write populated, but when i receive the email it comes blank, like this:

Assunto: teste
Data: 12-06-2014 13.00 WEST(+01:00)
Relacionado com:
Local: qwe
Criado por: Rui Oliveira
Descrição: teste

Link da Reunião:

Anyone know what i'm doing wrong? (And yes... i did repair-rebuild)

Thank you in advance,
Spock

Outcomes