Tuesday 29 March 2005 12:01:13 am
Hi, I'm trying to display a different message when the user tries to access a restricted area and when he tries to put a product in the basket. The page involved in both case is the templates/errors/kernel/1.tpl (I've copied it into my custom design folder). However, none of the variables I could think of (the usual suspects: module_result, view_parameters, uri_string, requested_uri_string) are set and designkeys only contains the section id.
How do I know that I'm in /shop/basked or in /private_area ? On the log: I've got this message
"Warning: Insufficient permissions Mar 29 2005 09:52:33
Function required:
Module : shop
Function : buy
ClassID :
MainNodeID :
Policies that didn't match:
I want to be able to know on 1.tpl if I'm on the shop module or content one for instance, so I can customise the error message (the default one isn't the most selling one for a shop ;) Any idea ? X+
http://www.sydesy.com
|