Link to open Whatsapp conundrum - SOLVED


(Rob Beattie) #1

I’m trying to create a link which, when clicked on a computer or tablet/phone launches Whatsapp - assuming it’s installed.

When I put the code ‘behind’ a button like ButtonPlus or Elixir’s Pop stack, it works perfectly. When I just highlight some text and then click RW’s Link button and paste the same code into the dialogue box it messes up the formatting of the text. And it add insult to injury, it doesn’t work. 8-(

Here’s the code I’m using

<a href="whatsapp://send?abid=09876543212&text=HeyThere!">whatsapp</a>

And you can see it in action here - http://www.thelastcarp.co.uk/page/ - the two buttons work fine, but the link in the left hand column doesn’t work at all.

Any ideas?

Thanks

Rob


(Jan Fuellemann) #2

Hi, the link is not correct. You use:
http://www.thelastcarp.co.uk/page/<a%20href=

Should be:
“whatsapp://send?abid=09876543212&text=HeyThere!”

So it seems the link has been altered.


(Rob Beattie) #3

Hmm. I don’t get it. I’m pasting exactly the same link into RW’s Link box as I’m using for both buttons - they work fine.

Maybe it needs some sort of custom attribute?

Rob


(Simon Maddox) #4

Hi @robbeattie,

Can you post a sample project here (or email it to support@realmacsoftware.com - let them know I sent you, and they’ll pass it on to me) that shows this issue happening?

I’ve tried pasting the same link into RapidWeaver’s Link panel and I’m not seeing the same result.

Cheers,

Simon


(Rob Beattie) #5

Just on my way home so will do it this afternoon. Cheers.


(Simon Maddox) #6

Hi @robbeattie. The support team sent me your project, and I’ve spotted the issue. Here’s a screenshot of the link panel for the link in question:

The content of this field should be a URL, not a HTML tag. So it should be:

I hope that helps!

Cheers,

Simon


(Rob Beattie) #7

Well played. That’s fixed it. Many thanks.

Rob