Closed (duplicate)
Project:
Simplenews
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2008 at 15:07 UTC
Updated:
7 Sep 2011 at 00:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
sutharsan commentedBy writing a small module that uses hook_form_alter to set a redirect destination.
Comment #2
clau_bolson commentedThank you, I am new to drupal (but not to php) and yet need to find my way around...
Comment #3
pawel.traczynski commentedClau Bolson: Did you made the custom module?
Did it work?
If yes, can you share?
Comment #4
clau_bolson commentedNo, changed the module code... know it shouldn't be done... but it was easier this way.
each time it says
$form['#redirect'] = ''; //Return to home page after (un)subscribeI replaced '' with the desired page, ant it worked.
Comment #5
alex.k commentedI wrote a small module that adds configuration options to each newsletter, whether to show a message or redirect to a thank-you page upon (un)subscription. Anyone who has this need, give it a try. Just create a directory called "simplenews_thankyou" under sites/all/modules, and place the two files there. Rename .php to .module.
Reopening this issue just to get a piece of feedback... if maintainer wants to, I can re-roll it as a patch to simplenews (preferably), or if not, will publish it as a separate module.
Comment #6
avdp commentedhi,
Thanks for the custom module, it works wonderful.
One remark:
At the page admin/settings/simplenews/newsletter it shows the options, after the 'save configurations' button.
These general settings do not override the per-newsletter settings (admin/content/simplenews/types/edit/1).
Comment #7
meatron commentedThanks for the module, it works perfectly. It could be more visible though, I found here only after a longer search.
One to customize the manage subscriptions page and text would be nice too.
Comment #8
alex.k commentedIt should be published as a separate module, it doesn't look like I can roll it into simplenews.
Comment #9
sutharsan commentedYour welcome to supply a HEAD patch for this function. No need for a separate module, pls include it in the main, it is requested regularly.
Comment #10
eme commentedYes indeed : very usefull module !
For those who don't know well Drupal, the simplenews_thankyou.php.txt file should be renamed as simplenews_thankyou.module.
Comment #11
sutharsan commentedComment #12
sutharsan commentedContinued at #508802: Removal of confirmation step when an user clicks the subscription/unsubscription links provided in the email
Comment #13
mmliju commentedi have installed simplenews_realname module to the simplenew
i have activated simplenews_thankyou module
after that my simplenews_realname is not working but thankyou is working fine
please help
Comment #14
arne.olafson commentedHere's a zip file of properly named files you can upload to your modules directory. The one issue I'm having with the application of it is that it doesn't seem to work for anonymous users.