Community & Support

Simplenews signup page for anonymous users

I love the "my newsletters" section the simplenews module adds to My Account, but I don't necessarily like the sidebar blocks. I need to have a way for anonymous users to subscribe to multiple newsletters. Is there a page somewhere that asks for the user's email address once and then gives a series of checkboxes for which newsletters they'd like to sign up for? Or is there an easy way for me to create one? Thanks for any help you can provide.

Comments

According to the Simplenews

According to the Simplenews page: http://drupal.org/node/28906

Through the "manage my subscriptions" link: shows all newsletters available. Anonymous users are directed to http://domain/newsletter/subscriptions, logged in users to http://domain/user/uid/edit/newsletter

Through a custom page. A custom page can be built by using these functions:

  • simplenews_subscription_manager(): takes no arguments and prints the same form as in "manage my subscriptions". However, logged in users are not redirected to their account's page in this case, they can update their subscriptions right away.
    Use _simplenews_subscription_manager() if you want the form returned and not printed
  • simplenews_recent_newsletters($tid, $count, $title): prints a list of recent issues. $tid is a required argument (the term's tid), the others are optional. $count defaults to 5 (the number of issues displayed), $title defaults to NULL (sets a title above the list).
    Use _simplenews_recent_newsletters($tid, $count, $title) if you want the list returned and not printed

--
Jenni S.

--
Jenni S.
http://www.nulookmedia.net
Portland, OR metro area
Contact Me

Thanks!

Thanks for your help. I'm not sure how I missed that one *blush*, but I appreciate you researching it for me. Next time I'll try to read the docs a little more carefully myself.

Not a problem. I know I've

Not a problem. I know I've done that a few times myself.

: )

--
Jenni S.

--
Jenni S.
http://www.nulookmedia.net
Portland, OR metro area
Contact Me

chiming in my thanks too

I was *just* looking at this problem and viola! Many thanks.

--------------------
Michael
http://michaelangela.name

--------------------
Michael
http://michaelangela.name

nobody click here