Tuesday 05 December 2006 7:33:15 am
Hi, I wish to know in my differents templates if the user is actually forwarded to a kernel error page, or like the login page/log-off. Those pages do not have a node ID. I need to put some special tags in the header of the page when the user got forwarded on such a page. Is there any global variable that I can fetch to know if there is an error? And when which one (like the value in kernel/error/errors.php file). The only "way" I found so far is with the $ui_component which returns either "error" or "user", but still I don't wich error (not found, need authentication...)
|