Hello, i am new to coding and i have a problem for which i could not find an answer on the issues list. The default block of this module uses 3 pieces of information: one is your email and the other two are the options for subscribe and unsubscribe. I was wondering if there is a way of removing the radio buttons and just have a field for the email and a save or submit button. Is this too hard? Every site got those simple newsletter subscription forms i want one two! =)

Thanks for any support given and excuse my english,

Tiago

Comments

miro_dietiker’s picture

Status: Active » Fixed

Bananoide
You will need a little programming experience in order to do this.
The magic is in drupal form_alter which will perfectly fit this task.
With a module containing about 10 lines of code this is possible.

We're currently a little working on form naming/presentation in 2.x... but we won't provide this functionality by simplenews itself.

Status: Fixed » Closed (fixed)

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

okokokok’s picture

Status: Closed (fixed) » Active

It would be very useful to have these 10 lines of code readily available from here. :]
If I manage in the next 2 weeks before someone else leaves them I'll add them here.

And I actually think this (one field + submit button) is such a common use case that it could be good to consider adding this as an option to the module...

[I think there's a bug in d.o. After my comment this issue says: "Revision 1 by Kasper Souren on July 27, 2011 at 11:51pm" Weird.]

simon georges’s picture

Correct me if I'm wrong, but I think the current subscription block has only the email field and the submit button now.

okokokok’s picture

Version: 6.x-2.x-dev » 6.x-1.3
Status: Active » Fixed

Cool!

I was still on 6.x-1.3, just upgraded to 6.x-2.0-alpha2 and it's nice now :)

Status: Fixed » Closed (fixed)

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