Forums / Setup & design / embedded login form problem

embedded login form problem

Author Message

Alessandro Cipriani

Wednesday 25 February 2004 5:30:08 am

hi all
i'm trying to have the login form into the pagelayout structure in my site.
to do this i simply referenced the login form as follows:
{include uri="design/corporate/override/templates/user/login.tpl"}

the problem is that togheter with the login form the message "You are not allowed to access %1." appears!
anyone has some idea?

best regards
alessandro

Jan Borsodi

Tuesday 02 March 2004 7:50:16 am

The login.tpl is not meant to be reused like that, it expects several variables to be set to work properly.

I suggest you open the file and copy the form declaration and input fields/buttons to a new template and use that one in the pagelayout.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq