Skip to main content
Question

Add a hyperlink to error message phrase

  • November 28, 2023
  • 1 reply
  • 26 views

mibrahim75

I would like to add a hyperlink to our error message. does anyone know how to do this? see message below. I would like to make “here” go to the login page. thanks.

 

Sorry, but you do not have access to this page. If you are not logged in, you can login here. If you are already logged in, then you may have found a page that is accessible only to Benchling customers. Please reach out to community@benchling.com. We're here to help!

1 reply

Alistair FIeld
Forum|alt.badge.img+4

Hi @mibrahim75 

In your Control Environment, you can find the phrases in the Customisation section.

 

You can look up the Phrase that controls this message.

🔎Search for this phrase:  error.403.guest

You can then edit the message and use HTML coding to add the html to the text link.

 

Here is an example that you can paste in;

<!DOCTYPE html><html lang="en"><head><meta http-equiv="Content-Type" content="text/html charset=UTF-8" /</head><body>

Sorry but it seems that you cannot access this area because you are not logged in, or your account does not have the rights to view this page. Please {loginLink} </body>

Note that the standard variable {loginLink} directly links to teh log in pop up, as seen below.