• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
  • 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
#1
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 ;)
 

James

Well-known member
#2
The problem is that the debug parameter can still be used, even if the footer info isn't available.

Nice little tweak though :)