1

I want to show a message after users submit their email in Simplenews block.

Currently when the user clicks on the subscribe button, the page is refreshed and no message shows ups.

Instead, I prefer to show a message with javascript in modal or something.

Any help/suggestions?

1 Answer 1

2

Consider using the Rules module to implement this. And enable the Simplenews rules module (a sub-module of Simplenews).

Then create a rule like so:

  • Event: "A user has been subscribed".
  • Action: "Show a message on the site" (located within "System").
2
  • Thanks for your answer, is there any response or event that i can show the message in custom modal(custom javascript)
    – user23811
    Commented Jul 2, 2015 at 13:58
  • i created what you said above and save the rule . but when anonymous user subscribe nothing happen
    – user23811
    Commented Jul 2, 2015 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.