CF6 and Acymailing subscription

deltafidesign 09 May, 2017
I would like to integrate The Acymailing subscription to one or multiple newsletters in my form.
I want that user can check one (or multiple) newsletter(s) in the form and the automatically subscribed to that newsletter list.

How could I do it in CF6?
GreyHead 09 May, 2017
Hi deltafidesign ,

I have no idea about CFv6 - I do have an action for CFv5 that will let you handle AcyMailing subscriptions.

Bob
Max_admin 09 May, 2017
Hi,

Drag a Files > CURL action under the "Events" > "submit" section.
Add this in the URL box:
http://www.domain.com/index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=1,2,3&user[name]={data:field_name}&user[email]={data:field_email}


I think that should work but I didn't test it, you need to replace the 1,2,3 with the lists ids

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 09 May, 2017
Hi deltafidesign,

I guess that Max has separated out the code box so you run that before the Event Switcher - but I have no idea how to do that or what you out in the Data Provider box :-(

Bob
Max_admin 09 May, 2017
1 Likes
Hi,

In the event switcher data provider add {data:checkbox_name}

In the checkbox ghost value box add 0

In the event switcher events add 1,0 (assuming the value of the checkbox is set to 1)

Now in the "1" event of the event switcher add the curl action as posted above.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.