1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

"Debug Info" in Footer for Admins Only

Only show the debug information in the footer to administrators.

  1. Vincent
    I find that 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 the template called footer,

    Search for:
    <xen:if is="{$debugMode}">
    Replace with
    <xen:if is="{$debugMode} AND {$visitor.is_admin}">
    Brick, Firarist, rebelde and 4 others like this.

Recent Reviews

  1. EnragedGames
    Great way to experiment while keeping the debug information away from others.