Need to change "Access Denied" text
webnerd - December 12, 2008 - 06:51
Dear Drupal experts,
My client wishes to change the "Access denied" text that displays when a user tries to access a protected page without first logging in.
e.g. http://www.steveparish.com.au/admin
The green text says: "Access denied. You may need to login below or register to access this page."
Can you please advise me of where/how I can change this?
Kind regards
James

string overrides
Try the string overrides module - http://drupal.org/project/stringoverrides
http://drupal.org/project/cus
http://drupal.org/project/customerror
http://drupal.org/node/120646
- Pavan Keshavamurthy
http://grahana.net/
Prefer string overrides
Prefer string overrides module - http://drupal.org/project/stringoverrides. For the complex login settings, logintoboggan (http://drupal.org/project/logintoboggan)
Sudeep Goyal,
Ebizon NetInfo Pvt. Ltd.
Delhi, India
http://ebizontek.com
Ph: +91120 4546843
Email: info@ebizontek.com
skype id : am.ebizon
you can easily handle this
you can easily handle this with core, w/o adding another module.
first, create a page node with the wording the way you want it. then, point Drupal to that node for 403 errors at /admin/settings/error-reporting .
But, then you are taking the
But, then you are taking the user to a new page with a simple message. Actually, in most scenarios you would want to show the modified "access denied" message with a login form.
Sudeep Goyal,
Ebizon NetInfo Pvt. Ltd.
Delhi, India
http://ebizontek.com
Ph: +91120 4546843
Email: info@ebizontek.com
skype id : sudeep.goyal
yes..
>Actually, in most scenarios you would want to show the modified "access denied" message with a login form.
This is what I am looking to do.. any suggestions?
---------------------------
www.crsurfcam.com
logintoboggan
ebizondrupalservices is correct. logintoboggan module will take care of showing the logon page on access denied pages.