Jump to content

1 Screenshot

About This File

Adds the WhatsApp share service to IPS 4.1.x.

Once enabled, the WhatsApp icon should appear in your share links on your phone/tablet. It is hidden by default on desktops because clicking the icon on desktop does nothing and the ability to share has not yet been added to WhatsApp Web. This is toggable in the WhatsApp share link settings.

After clicking the link it opens WhatsApp and you will need to click on a user/conversation for the text to appear.

Notice:

If you're updating to 1.0.9 or later you need to upload the contents of the /upload folder to your IPS 4.1.x install.

Customize:

As of 1.0.6 the text string has been removed to improve performance. To customize you still have access to $url and $title within the whatsapp_cvh template (Core > Global > Plugins in the template editor). You will need to format the text string as desired. An example would be:

 

<a href="whatsapp://send?text={expression="\IPS\Content\ShareServices\Whatsappcvh::encodeURIComponent( $title . ' ' . $url )"}" class="cShareLink cShareLink_whatsapp" title='{lang="whatsapp_text"}' data-ipsTooltip>
	<i class="fa fa-whatsapp"></i>
</a>

 

  • Added /dev folder so it can now work in IN_DEV mode
  • Unless you are having issues you can skip this update which is meant to remove any code ambiguities

What's New in Version 1.1.2   See changelog

Released

updated for 4.4


User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...