$helper = WebLinkHelper::createWebLinkHelper($this, 'login_retry_link', 'index.php?app=ship-simu&page=login');
// Set link text
-$helper->setLinkTextById('login_retry_text');
+$helper->addLinkWithTextById('login_retry_text');
// Flush the content
$helper->flushContent();