I am trying to create a footer with icons to be shown at the botton just like the mobile apps
as the icon is dynamic as per the userlevel so i put the code in the
Server Event → Global → All Page → Page_Loading
$footerIcons = '
<div class="footer-icons">
<a href="Menuhome" class="footer-icon active"><i class="fas fa-home"></i></a>
<a href="recharge" class="footer-icon"><i class="fas fa-bolt"></i></a>
<a href="recharge" class="footer-icon"><i class="fas fa-bolt"></i></a>
<a href="recharge" class="footer-icon"><i class="fas fa-bolt"></i></a>
<a href="wallet" class="footer-icon"><i class="fas fa-wallet"></i></a>
<a href="Tmp" class="footer-icon"><i class="fas fa-user"></i></a>
</div>
';
Language()->setProjectPhrase("FooterText", $footerIcons);
when there is any error on the page the Header stay but the footer change to default text
Is there any alternate way to chang the default footer text dynamically from the server event so that the footer never change when there is an error also.