Page 1 of 1

Hyperlink in toast message

Posted: Thu Dec 08, 2022 11:51 pm
by WABez

I've been trying to put a hyperlink into a toast message, however I can't get it to work.

I have the following very simple piece of code:
$this->setFailureMessage("My failure message here and it is working just fine");

So what I would like to do is to add a hyperlink to the text of the message, i.e.:
$this->setFailureMessage("My failure message here <hyperlink here> and it is working just fine");

Any ideas would be appreciated.


Re: Hyperlink in toast message

Posted: Fri Dec 09, 2022 8:43 am
by mobhar

Just include the link into your message as usual, and it should work. You may post your code for more discussion.


Re: Hyperlink in toast message

Posted: Fri Dec 09, 2022 5:06 pm
by WABez

All sorted. Happens when you "quickly copy" code elsewhere. Was not important, just a test. Thanks.