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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.