• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Acajoom integration

Acajoom integration 16 years 10 months ago #3543

Hi all!!

Has anyone got the Subscription via an URL on acajoom to work with RS form pro?
If so would you like to share...


Best wishes / M
The administrator has disabled public write access.

Re:Acajoom integration 15 years 5 months ago #9104

  • toby2
  • toby2's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Don;t mean to bring up this old topic, but I have yet to find a solution to integrate acajoom Newsletter subscription with RS Form

What it boils down to is passing the values of email and name into the subscription URL inside the Joomla registration form like:
ndex.php?option=com_acajoom&act=subscribe&listid=1&receive_html=1&email=$email&name=$name

I found the following code that works with other form components:
<?php
$email = JRequest::getVar('email', '', 'post');
$name = JRequest::getVar('name', '', 'post');
$josFormARG->formrow->redirecturl = JURI::base()."index.php?option=com_acajoom&act=subscribe&listid=1&receive_html=1&email=$email&name=$name";
?>


Any ideas on how to make this work?

If I hardcode the subscription like so it works:

<a href="index.php?option=com_acajoom&act=subscribe&listid=1&receive_html=1&email=hardcodede@site.com&name=hardcoded">SUBSCRIBE</a>
Last Edit: 15 years 5 months ago by toby2.
The administrator has disabled public write access.

Re:Acajoom integration 15 years 5 months ago #9150

  • patrick.jackson2
  • patrick.jackson2's Avatar
  • OFFLINE
  • Fresh Boarder
  • KPS - Joomla Consultant Melbourne Australia
  • Posts: 12
  • Thank you received: 6
Working on a solution.

I've have a site where it's been embedded into another form in a cold fusion application, and the submission of the form inserts the values using the URL into the main form.

So will post back when I work it out.
The administrator has disabled public write access.

Re:Acajoom integration 14 years 1 month ago #13145

  • patrick.jackson2
  • patrick.jackson2's Avatar
  • OFFLINE
  • Fresh Boarder
  • KPS - Joomla Consultant Melbourne Australia
  • Posts: 12
  • Thank you received: 6
After 15 months of not needing to get back to coming up with a solution, I've finally had the need to look into this again.

Using the latest version of RSForms Pro, the simplest way to do the subscription is to use the Return URL for the form to pass the subscription info to Acajoom, then redirect the user to a page
index.php?option=com_acajoom&act=subscribe&listid=1&receive_html=1&email={Email:value}&name={Name:value}&redirectlink=url

Where:
- You have a field called Email in your form
- You have a field called Name in your form
- &redirectlink=url is optional - replace URL with your subscription thankyou page you may already have set up from the Acajoom module. If you leave redirectlink off the URL, you will get the default Acajoom subscribe screen.

Other options:
- receive_html - set up a checkbox field named ReceiveHTML and swap the 1 in the URL with {ReceiveHTML:value} to have it as an option on the form.

The rest of the form will submit as per normal - so you can have lots of other fields on the form, and they'll save in the database, and send out confirmation emails to admin and users as per normal.

Note: this is a basic solution where the output is just the thank you page saying they've subscribed. If you need the subscription to happen invisibly - so it's done without showing any additional acajoom related bits and pieces, then code will need to be put into the Scripts or Email Scripts sections of the form.

This FAQ helped lead in the right direction, though the syntax on that page is wrong... it should be {City:value}
www.rsjoomla.com/customer-support/docume...tom-return-urls.html
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!