• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

"Debug Info" in Footer for Admins Only

Vincent

Well-known member
Hello,
I think my users don't have to know when debug mode is on, that's why I made this modification. It only shows the debug info for logged in admins.

Open up the template called footer,

Search for:
Code:
<xen:if is="{$debugMode}">

Replace with
Code:
<xen:if is="{$debugMode} AND {$visitor.is_admin}">

Done ;)
 
The problem is that the debug parameter can still be used, even if the footer info isn't available.

Nice little tweak though :)
 
Top Bottom