Portal - custom error message when access denied

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    Portal - custom error message when access denied

    Hello,
    I am currently working on the portal for our customers and I am wondering if there is a possibility to display a custom error message in case a customer is trying to access some information that he/she is not able to see because of the access settings. At the moment there is the error message "404 The URL you requested cannot be handled." and we would like to customize the message.

    Thanks a lot.
    Attached Files
  • victor
    Active Community Member
    • Aug 2022
    • 755

    #2
    Hi Jakub Grufik

    You can change the text by going to line 362
    Code:
    \application\Espo\Resources\i18n\en_US\Global.json
    Do not forget to rebuild in the terminal after saving.
    Code:
    sudo php rebuild.php
    Last edited by victor; 10-11-2022, 10:07 AM.

    Comment


    • Jakub Grufik
      Jakub Grufik commented
      Editing a comment
      thanks a lot man!
Working...