Hi,
sorry over read your question.
If you take a look at the replaceSEMConstants function, which is executed at the end of the file, you can see all available constants.
They are currently all named SEM_*. For the name of the participant (theres only full name, not first- and surname), you can use for example SEM_NAME.
As i said before, with version 2.2 a new certificate template system, where you can use all available user fields etc. is going to be integrated.
Best regards,
Yves
$html = str_replace('SEM_IMAGEDIR', MatukioHelperUtilsBasic::getComponentImagePath(), $html);
$html = str_replace('SEM_BEGIN_EXPR', JTEXT::_('COM_MATUKIO_BEGIN'), $html);
$html = str_replace('SEM_END_EXPR', JTEXT::_('COM_MATUKIO_END'), $html);
$html = str_replace('SEM_LOCATION_EXPR', JTEXT::_('COM_MATUKIO_CITY'), $html);
$html = str_replace('SEM_TUTOR_EXPR', JTEXT::_('COM_MATUKIO_TUTOR'), $html);
$html = str_replace('SEM_DATE_EXPR', JTEXT::_('COM_MATUKIO_DATE'), $html);
$html = str_replace('SEM_TIME_EXPR', JTEXT::_('COM_MATUKIO_TIME'), $html);
$html = str_replace('SEM_COURSE', $row->title, $html);
$html = str_replace('SEM_TITLE', $row->title, $html);
$html = str_replace('SEM_COURSENUMBER', $row->semnum, $html);
$html = str_replace('SEM_NUMBER', $row->semnum, $html);
$html = str_replace('SEM_ID', $row->id, $html);
$html = str_replace('SEM_LOCATION', $row->place, $html);
$html = str_replace('SEM_TEACHER', $row->teacher, $html);
$html = str_replace('SEM_TUTOR', $row->teacher, $html);
$html = str_replace('SEM_BEGIN', JHTML::_('date', $row->begin, MatukioHelperSettings::getSettings('date_format', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_BEGIN_OVERVIEW', JHTML::_('date', $row->begin, MatukioHelperSettings::getSettings('date_format', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_BEGIN_DETAIL', JHTML::_('date', $row->begin, MatukioHelperSettings::getSettings('date_format', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_BEGIN_LIST', JHTML::_('date', $row->begin, MatukioHelperSettings::getSettings('date_format_small', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_BEGIN_DATE', JHTML::_('date', $row->begin, MatukioHelperSettings::getSettings('date_format_without_time', 'd-m-Y')), $html);
$html = str_replace('SEM_BEGIN_TIME', JHTML::_('date', $row->begin, MatukioHelperSettings::getSettings('time_format', 'H:i')), $html);
$html = str_replace('SEM_END', JHTML::_('date', $row->end, MatukioHelperSettings::getSettings('date_format_small', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_END_OVERVIEW', JHTML::_('date', $row->end, MatukioHelperSettings::getSettings('date_format_small', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_END_DETAIL', JHTML::_('date', $row->end, MatukioHelperSettings::getSettings('date_format_small', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_END_LIST', JHTML::_('date', $row->end, MatukioHelperSettings::getSettings('date_format_small', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_END_DATE', JHTML::_('date', $row->end, MatukioHelperSettings::getSettings('date_format_without_time', 'd-m-Y')), $html);
$html = str_replace('SEM_END_TIME', JHTML::_('date', $row->end, MatukioHelperSettings::getSettings('time_format', 'H:i')), $html);
$html = str_replace('SEM_TODAY', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('date_format_without_time', 'd-m-Y')), $html);
$html = str_replace('SEM_NOW', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('time_format', 'H:i')), $html);
$html = str_replace('SEM_NOW_OVERVIEW', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('date_format', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_NOW_DETAIL', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('date_format', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_NOW_LIST', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('date_format_small', 'd-m-Y, H:i')), $html);
$html = str_replace('SEM_NOW_DATE', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('date_format_without_time', 'd-m-Y')), $html);
$html = str_replace('SEM_NOW_TIME', JHTML::_('date', $neudatum, MatukioHelperSettings::getSettings('time_format', 'H:i')), $html);
$html = str_replace('SEM_NAME', $user->name, $html);
$html = str_replace('SEM_EMAIL', $user->email, $html);