Restore possibility to hide message in portal template
In LL::NG 1.9, we had the possiblity to override an error message to hide it in the template.
[portal] error_9 = 0
This was working as the template parameter
AUTH_ERROR was filled with the text message, so this test in template could hide the message box:
<TMPL_IF NAME="AUTH_ERROR"> <div class="message message-<TMPL_VAR NAME="AUTH_ERROR_TYPE"> alert">... </TMPL_IF>
In 2.0, the
AUTH_ERROR contains the message number, so this test is not accurate anymore.
But we should find a way to hide the message box if we need it to customize the skin.
Any idea is welcomed.