Hey there Mr. Barnson,
Quick question, if you have the time. I’m managing a web site for my family’s church that runs on either Drupal or Civicspace. It’s completely member locked, so currently when someone goes there they see an Access Denied message in the body of the site before they log in.
I’m trying to change the “Access Denied” message to something more user friendly, and I’m guessing it has to be done at the file level, since I can’t seem to find anyway to change it using the ‘administer’ section of the site itself.
When I hit View Source on that main page, the code appears to be just an html page. It looks like the Drupal engine calls up some html code to display in the main page’s body. However, there are no html files in the directory on the server where this Drupal site is installed. Would the html code be in one of the .mysql files?
Thanks much, Arthur
Create an “access denied” page
1. Create a new page with the Access Denied text you want to display. This is just a Drupal node, comment, story, or whatever. 2. Ensure that the permissions on that type of node allow anonymous access, otherwise you’ll generate an error trying to generate the Access Denied error. 3. Under Administer – Settings – Error Handling, define a custom Access Denied page pointing to the page you just created.
That should do it for you. Drupal makes LOTS of things related to website management very easy, and this is one of them.
—
Matthew P. Barnson
Thanks
Dude, you rock. Thanks very much!