Forums / Setup & design / Detect login template being embedded?

Detect login template being embedded?

Author Message

Luis Cruz

Friday 07 September 2007 9:19:11 am

Is there way to detect when the login template is being embedded into the page versus simply called via /user/login? For example, when the system throws kernel error 1 and embeds the login page, I want to be able to detect that in login.tpl and alter the design accordingly.