On access denied pages for node/add can we include the description of the node type. A user unfamiliar with the system tries to create a content type for which they do not have access to. At the moment they are presented with a denied message. Include the content type description underneath the text. That way the user is at least given some information and not left cold out in the dark wondering if they've been put in the naughty corner!
E.g.
Access denied, you do not have sufficient permissions.
A blog is on-line journal per user. Only pupils and teachers have blogs but parents can view them. Blogs are inaccessible to all other registered and unregistered users.
Comments
Comment #1
dawehneryou can achieve this changing the 403 page to a custom page callback you defined.
there you can check the url your are coming from, and then display different output
Comment #2
mdupontComment #3
Gabriel R. commentedThis is still relevant. The only workaround I found was to set the 403 address to a separate page, and then use a specific template for it.
Comment #4
mdupontIn about every existing site, 404 and 403 error pages have a static message. Due to the way these pages are designed to work under D6, the only solution to achieve customized 403 error messages is the one you are using: having a specific template and logic to determine the message to display. So it is fixed since it has a clean solution.