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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.