Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mini-mitnick on
Hey,
I am starting to get the hang of things now and have found all the previous help very good (response time was great, answer was clear and concise - thanks mathias!)
So my next question is:
- How do I change the content of the page that a user will see before they login? Presently the content frame displays the message:-
                                                 "Access Denied. You are not authorised to view this page."
I've searched through the files and have been able to modify the conf.php file to change the later sentence - though I'm still unsure where/how to modify the "Access Denied." part.
Ideally I will setup a nice introduction screen welcome people and insert pictures through the HTML and stylesheets... but where/in which file??
Yours Sincerely,
Mini-Mitnick.
Comments
"access denied" string
I found the 'access denied' string in node.module, I think in the node_page function. So you can change it there. However, then I believe this will display every time the user visits a page they are not supposed to, instead of just on the homepage. If you are ok with this behavior, and of hard-coding the text in the .php then you should be able to just change the node_change function (towards the bottom).