first, thanks so much for a great module. i've been using it to handle a 12,000+ person email list with no problems at all. i have one question, however: is there any way to force a very simple sign-up block? with just the email field and a submit button? i'm redoing my landing page so they'll be just a basic image and the email signup feature. similar to what you see on http://example.com/newsletters/subscription, but with just the email field and the submit button.

thanks in advance. and thanks again for a great module.

Comments

sutharsan’s picture

Status: Active » Closed (fixed)

No activity, closing the issue.

soulston’s picture

Have you checked the permissions to allow anonymous users to subscribe?

mlncn’s picture

Version: 6.x-1.0-beta5 » 6.x-1.x-dev
Status: Closed (fixed) » Needs review
StatusFileSize
new2.48 KB

Having an "unsubscribe" option on every page of your site does not make much sense; unsubscribe can be done from a link in the e-mail much better. The radio buttons bloat and complicate the form.

This patch provides the option to use a simpler form in the newsletter block, with just a Signup button.

ben, agaric

georgec431v’s picture

Status: Reviewed & tested by the community » Needs review

where exactly is this option located? I think I've scoured all the simplenews config pages and found nothing.

EDIT: Nevermind. I looked at the patch and figured it out. The option is in Site Config > Simplenews > General

Thanks man, works fine!

georgec431v’s picture

Status: Needs review » Reviewed & tested by the community
sutharsan’s picture

Category: support » feature
Status: Needs review » Needs work

This is a great usability improvement. I checked a few UX pattern sites and sites which offer newsletters, only one in ten sites offer an unsubscription on the site. I therefore propose to change the form to disable subscribe/unsubscribe option by default. This also means that the wording in the form can be changed, and a description could be added. The option is best placed on the Site configuration > Simplenews > Subscription page. To spontaneous interface change on existing sites I propose to set the form to 'full' in hook_update_N().
Feel free to create a new patch. I'm not sure I have the time for it.

vthirteen’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev

subscribe

[edit: forgot to say that the patch works for me too]

mlncn’s picture

Status: Needs work » Reviewed & tested by the community

I think Sutharsan's suggestion can wait for a major version release, if people want it. Anyhow, thanks for testing the patch, but please don't change the status to "needs work" from "RTBC" because you'd like a slightly *different* feature!

sutharsan’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Reviewed & tested by the community » Needs work

If we commit this patch like this, I guess no one is motivated to do the improvements I suggested. Therefore I change the status back to Needs work. Further this will be committed to HEAD, not 6.x-1.x. No new functionality will be added to the 1.x version.

millions’s picture

I applied the patch, updated the module, and selected the simplified form radio button under Simple News General in the Site Config. I can't see any difference in the news block though. What am I missing?

mlncn’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Assigned: Unassigned » mlncn

Xoso-- it only makes a difference for anonymous users, so while you are logged in it will look the same.

I'll take this on after core code freeze. Which means anyone who sees me in Paris can sit me down and make me do it! (If anyone gets to this first, I will be thrilled.)

Any further specification on how this should go in, Sutharsan? (Didn't realize you were the maintainer, heh.)

ben, agaric

millions’s picture

Ok, I see that now. Anyway to make it display inline? What would I need to add to the css? I tried messing with things but couldn't get it to look right. I'd love to have it look extremely simple, like recesstimesports.com (don't think they use drupal though).

sutharsan’s picture

@Benjamin: lets sit down for this in Paris :)

mlncn’s picture

Sounds like a plan! Not sure if/what i'll have for a cell phone so ben-agaric or benjamin-agaric in IRC is the best way to track me down!

aaron’s picture

subscribe

perke’s picture

subscribing

would love to see this in new version

mlncn’s picture

Issue tags: +Usability

Sutharsen, sitting down to work on this at DrupalCon didn't work too well, did it! But I'm in Northern Germany now but with a Eurail pass good until i return to the states Oct 12...

mlncn’s picture

I just applied this to the 2.x branch and was happy to find it still works. And I still think it ought to go in Simplenews core. Sutharsan, could you give the minimum necessary to get it in?

I also think there should be the full form available at a page rather than a block. I would be happy to work on follow-up issues after getting this in.

benjamin, agaric

sutharsan’s picture

Status: Needs work » Fixed
StatusFileSize
new865 bytes

I took me way too long for a simple change like this. I took Benjamin's patch and made it unconditional. My guess is that the vast majority only wants a subscription form and will leave the unsubscription to the link in the email. I drop my argument of breaking the interface in favor of keeping the admin options to a minimum.

Attached patch will be available in the next 2.x dev release.

mlncn’s picture

Awesome, thanks!

Do people want a page they can link to with the subscribe / unsubscribe option? (Just the subscribe?) As well as this now streamlined block?

sutharsan’s picture

Let's make a short list of required pages, forms, etc.

On my list:
- (un)subscription confirmation page with immediate confirmation.
- (un)subscription confirmation page with confirmation form (existing).
- subscription page for single(?) newsletter to be used for invitation.
- drop the existing newsletter/subscriptions form (combined with the two pages below)
Your request:
- subscription page for both anonymous and authenticated users.
- unsubscription page for both anonymous and authenticated users.

Some pages can be combined with smart use of arguments in the URL.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

millions’s picture

For websites with multiple newsletters, it would be great to have an option (page or block) that allows anonymous users to select which newsletter they want to subscribe to, perhaps in a drop down menu? This would be a great help for my site.

I could also envision a need (for someone) for an option to subscribe to multiple newsletters anonymously without needing to have multiple, large blocks on the page.

justclint’s picture

Will this patch ever get put into the simplenews module so we dont have to apply it every time theres a simplenews module update?

grasmash’s picture

I second that!

klavs’s picture

I third that :)

This option to have a simpler signup block would be much appreciated.

And while you're at it - it would be nice to be able to not show the link to "previous issues" - as I usually just make view of the latest issues - which automaticly has a link to "older content" - ie. the full view if I want it.

mattwmc’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev

Any idea how do I remove the unsubscribe button in 6.2 dev from appearing in the Newsletter block?

There is no option to disable the unsubscribe button.

Thanks.

*Edited: Heck with it. I just went to the site newsletter sign up page (newsletter/subscriptions) and used Firebug to copy the html of the sign-up form.

Then created a new block, placed that html code in it and also modified the text to get make it say what I wanted. Plus, I removed the unsubscribe input button and added a check mark for the newsletter.

When a user enters their e-mail and clicks submit they are then taken to the newsletter/subscriptions page where they are given a confirmation message.

Voila!

tinhoang’s picture

Title: simplifying the simplenews signup block for anonymous users » Thanks man

I used this method here. Easier to just copy that html into a block, add a css id to the block and style it the way you want. Also lets you delete what you don't want as well.

roball’s picture

Title: Thanks man » simplifying the simplenews signup block for anonymous users
peterkortvel’s picture

Thanks but i copied the block for anonymous users with e-mail address field, now when logged in it gives this message after subscribing:
The form has become outdated. Copy any unsaved work in the form below and then reload this page.

PS: It has no reason to use subscribe button even for logged in users. Users usualy use variety of e-mail addresses and should have right to chose to which e-mail address they want to recieve a newsletter (it doesn't have to be same that was used for registering moreover if registered via social media).