Hi,

I'm aware that there are numerous modules available that in some way better handle Access Denied messages (Custom Error, Login Toboggan - both of which I have installed) however what I've looked for without success is a solution to the following:

I currently have a content type ('Location') that has access permissions for only a member role. Anon users and authenticated users are given the standard access denied messsage or if I activate Login Toboggan - the user login/registration form.

What I require is for the user to be shown a custom access denied / error message page only for this 'Location' content type. For all other content types the user can be served the default Access Denied page.

Does anyone have any ideas how I could go about this?

Thank you.

Comments

RKopacz’s picture

I subscribe to this. Any way to get custom access denied pages per content type?

ishanmahajan’s picture

Can anybody help out on this? I need a custom access denied page for a particular content type.