Appearance of newsletter block need serious improvments!

Mamouri - March 23, 2006 - 09:24
Project:Simplenews
Version:HEAD
Component:User interface
Category:feature request
Priority:critical
Assigned:Unassigned
Status:closed
Description

Appeareance of newsletter block really need improvments. Currently, for unregistered user it take 250 pixel of space and there are a lot of free unused Space:

-----------------------------------
Stay informed on our latest news!

E-mail:

Subscribe

Unsubscribe

Submit

Previous issues

-----------------------------------

There is almost an additional free line between each lines and they can be removed.

Also I don't need Subscribe or Unsubscribe option. Is there any way to remove this option??

I attached an example of appearence of newsletter block. Is there some way to chage appearence of newsletter block?

AttachmentSize
newsletter_example.png892 bytes

#1

hadishon - March 27, 2006 - 21:15

You can change some things in the settings (admin/newsletter/settings). The rest can be done with CSS.

#2

Mamouri - March 29, 2006 - 05:13

As I know it's not possible to handle this using css. I want remove Subscribe, Unsubscribe radio buttons from newsletter block. In fact I need that subscibe option be as default and user only unsubscribe newsletters from link available in messages that they recives.

#3

Mamouri - April 1, 2006 - 17:56

Does someone know how remove Subscribe and Unsubscribe option from newsletter block ???

#4

hadishon - April 2, 2006 - 13:16

Goto: admin/newsletter/settings/

Customize "Block options"

#5

Mamouri - April 2, 2006 - 14:35

Thank you hadishon. But in fact I want only remove Subscribe and Unsubscribe options. I want something like this: http://drupal.org/files/issues/newsletter_example.png

Can you please tell me how it would possible using css or something?

#6

Mamouri - April 2, 2006 - 14:37

In fact using "Display subscription form" option, all subscription form removed. I would like anynomys user could join to newsletter from newsletter block by entering their email address and unsubsribe from address available in emails that send to them

Thank you

#7

Sutharsan - May 8, 2007 - 21:14
Status:active» needs review

This patch brings improved theming and more to the simplenews block:
* improved theming
* variables added to disable the 'unsubscribe' link/form for subscribed users
* block configuration settings moved out of simplenews admin pages and into block configuration page

The patch combines feature request of the following issues:
http://drupal.org/node/55446
http://drupal.org/node/93481
http://drupal.org/node/72621
http://drupal.org/node/66023

AttachmentSize
simplenews.55446.patch 11.23 KB

#8

sliiiiiide - December 13, 2007 - 00:54

To remove the subscribe and unsubscribe radio buttons, replace this in simplenews.module:

<?php
    $form
['action'] = array('#type' => 'radios',
     
'#default_value' => 'subscribe',
     
'#options' => array('subscribe' => t('Subscribe'), 'unsubscribe' => t('Unsubscribe')),
    );
  }
?>

with this

<?php
$form
['action'] = array('#type' => 'value',
     
'#default_value' => 'subscribe',
     
'#options' => array('subscribe' => t('Subscribe')),
    );
  }
?>

Thanks to mileZ, here: http://drupal.org/node/149965#comment-239898

#9

Ray Seaman - December 14, 2007 - 21:57

How exactly do you install a patch?

I know, I know, I'm such a newbie!

#10

Sutharsan - December 15, 2007 - 13:32

You find all about patches in the Handbook: http://drupal.org/patch
It might be quite intimidating if you don't know any php. Search the web for screencasts. I know there is one from Angie about Applying patches to core (on a Mac) and I think in the dojo lesson #5 (http://drupaldojo.com/lesson/get-your-cvs-on) is a part on applying patches using a Windows tool.

I have re-rolled the patch for the current HEAD version of Simplenews.

AttachmentSize
simplenews.55446.patch 6.36 KB

#11

Sutharsan - December 15, 2007 - 14:41
Assigned to:Mamouri» Sutharsan
Status:needs review» reviewed & tested by the community

Reviewed the patch, did some tweeks and made it ready for committing.
Any review (on short term) is very much appreciated!

AttachmentSize
simplenews.55446.patch 8.77 KB

#12

Sutharsan - December 17, 2007 - 19:34
Assigned to:Sutharsan» Anonymous
Status:reviewed & tested by the community» fixed

Small changes made to prevent empty div's in the block.
Patch committed.

#13

Anonymous - December 31, 2007 - 19:42
Status:fixed» closed

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

#14

Amir Simantov - July 18, 2009 - 17:30

As this is so 2007 :-) I would like to ask whether it should work for current d6 version. Moreover, it is so essential, how come this have not come into the module it self during the past year and a half?

Thanks!

#15

georgec431v - July 31, 2009 - 02:45

I am also interested if there's a patch for this for Drupal 6 Simplenews.

#16

nperonti - September 8, 2009 - 01:15

Does anyone know how to accomplish this in version 6?

#17

perke - September 14, 2009 - 10:20

also looking for solution in D6

#18

millions - September 21, 2009 - 21:42

I'll 5th that request for d6!

#19

geniekids - September 24, 2009 - 12:18

I'll 6th that request for d6 :-)

#20

msumme - October 13, 2009 - 21:09

I seventh that!

#21

beyond67 - October 29, 2009 - 06:59

8th!

#22

Sutharsan - October 29, 2009 - 09:10

Supporters are great, but only code can move us forward. Come on, this is not a dificult task. Novice coders are welcome!

#23

hixster - November 23, 2009 - 18:07

Took ages to find but there is a patch in this post which does what you want.

http://drupal.org/node/337628

 
 

Drupal is a registered trademark of Dries Buytaert.