Forums / Developer / unkown $site_access in /user/login.tpl

unkown $site_access in /user/login.tpl

Author Message

Lydie Soler

Wednesday 10 August 2005 6:41:35 am

Hi,

I am using the user/login.tpl and I have this error: Unknown template variable 'site_access' in namespace ''

I suppose it is because of the following part of code where $site_access is used. It doesn't seems to exists....


{section show=$site_access.allowed|not}
<div class="warning">
<h2>{"Access not allowed"|i18n("design/standard/user")}</h2>
<ul>
    <li>{"You are not allowed to access %1."|i18n("design/standard/user",,array($site_access.name))}</li>
</ul>
</div> {* class="warning" *}
{/section}

Everything seems to works it is just that I prefer correcting problems as I see them