私はajax呼び出しから通知を返しています
$app = JFactory::getApplication();
$app->enqueueMessage('Joomla notice', 'info');
フロントエンドでは、これにより次の結果が得られます (空の見出しに注意してください)。
<div id="system-message-container">
<div id="system-message" class="alert alert-info">
<h4 class="alert-heading"></h4>
<div>
<p>Joomla notice </p>
</div>
</div>
</div>
ただし、バックエンドのように、見出しと閉じるボタンを付けて通知を表示したい、つまり
<div id="system-message-container">
<button type="button" class="close" data-dismiss="alert">×</button>
<div class="alert alert-info">
<h4 class="alert-heading">Info</h4>
<p>Joomla notice</p>
</div>
</div>
これを行うJoomlaの方法はありますか、それとも回避策を考え出す必要がありますか?