CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Drupal Mailing Subscribe Block
Pages: [1]

Author Topic: Drupal Mailing Subscribe Block  (Read 451 times)

luquidify

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5.2.6
Drupal Mailing Subscribe Block
May 24, 2011, 10:48:13 pm
Hi there im trying to create a drupal mailing block similar to the block at upstream public health org/

Problem is when I submit my form it redirects me to another page /civicrm/mailing/subscribe and i have to click subscribe again. How can i keep my users on the same page like the above example.?

Here is the code in my block.

<form action="/civicrm/mailing/subscribe" id="Subscribe" method="post" name="Subscribe">
   <label for="news-sub">Your Email:</label> <input id="email" name="email" style="" type="text" /><br />
   <input id="mark_x_2" name="mark_x_2" type="hidden" value="1" /> <input id="_qf_Subscribe_next-top" name="_qf_Subcribe_next" type="submit" value="Subscribe" />
</form>

Regards

L



Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Drupal Mailing Subscribe Block

This forum was archived on 2017-11-26.