How to add Sendy integration to any extension

How to add Sendy integration to any extension

Hi support team,

In your sendy product page, you mentioned that "the user can quickly add Sendy integration to any extension. With one line of code you can subscribe or unsubscribe users to any list." Can you give more instructions on this? I have no clue how to do it. Thanks!
https://www.sourcecoast.com/images/agorapro/attachments/41232/mini_simple-API.JPG

Attachments:
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to add Sendy integration to any extension

The first thing you need to do is get Sendy working with that module. That will make sure all the lists are setup properly.

Then, if you want to add a user to a list when they are registering through another extension, you need to call the following PHP code:

Code:

$sendy = Sendy::getInstance();

$return = $sendy->subscribeUser($email, $listId);

I hope that helps, but if you're looking for something else, please let me know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24167 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11697
Total Polls:
0
Total Posts:
49105
Posts this week:
7
User Info
 
Total Users:
47920
Newest User:
pyaaye
Members Online:
2
Guests Online:
820

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program