kankan
Well-known member
Hello
I am facing a strang issue with mail alert and "See this discussion" link :
Sometime the button URL link is not correct.
URL add a "." after the domain :
so there is a double .. and link not working.
My MAIL CONTAINER is the following :
Seems the error occured after editing this template , but no sure and no error message in admin.
Any help to solve this error would be appreciated.
Thanks
I am facing a strang issue with mail alert and "See this discussion" link :
Sometime the button URL link is not correct.
URL add a "." after the domain :
so there is a double .. and link not working.
My MAIL CONTAINER is the following :
Code:
<!DOCTYPE html>
<html lang="{$xf.language.language_code}" dir="{$xf.language.text_direction}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base href="{$xf.options.boardUrl}/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="telephone=no">
<title>{$subject}</title>
</head>
<body dir="{$xf.language.text_direction}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="bodyTable" border="0" width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" id="bodyTableContainer">
<table border="0" width="630" cellpadding="0" cellspacing="0" class="container" dir="{$xf.language.text_direction}">
<tr>
<td class="header" align="center" valign="top">
<a href="https://www.forum-des-portables-asus.fr/forums/pages/premium/" target="blank"><img src="https://www.forum-des-portables-asus.fr/images/logomail.jpg" width="100%" alt="{$xf.options.boardTitle}"></a>
</td>
</tr>
<tr>
<td class="content" align="{{ $xf.isRtl ? 'right' : 'left' }}" valign="top">
{$html|raw}
</td>
</tr>
<tr>
<td class="footer" align="center" valign="top">
<div>{{ phrase('visit_board_html', {'board_url': link('canonical:index'), 'board_title': $xf.options.boardTitle}) }}</div>
<xf:if contentcheck="true">
<div class="footerExtra"><xf:contentcheck>{{ phrase('email_footer_html') }}</xf:contentcheck></div>
</xf:if>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<mail:text>
{$text}
-----------------------------
{{ phrase('visit_board_text', {'board_title': $xf.options.boardTitle, 'board_url': link('canonical:index')}) }}
{{ phrase('email_footer_text') }}
</mail:text>
Seems the error occured after editing this template , but no sure and no error message in admin.
Any help to solve this error would be appreciated.
Thanks