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?
| Attachment | Size |
|---|---|
| newsletter_example.png | 892 bytes |

#1
You can change some things in the settings (admin/newsletter/settings). The rest can be done with CSS.
#2
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
Does someone know how remove Subscribe and Unsubscribe option from newsletter block ???
#4
Goto: admin/newsletter/settings/
Customize "Block options"
#5
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
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
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
#8
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
How exactly do you install a patch?
I know, I know, I'm such a newbie!
#10
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.
#11
Reviewed the patch, did some tweeks and made it ready for committing.
Any review (on short term) is very much appreciated!
#12
Small changes made to prevent empty div's in the block.
Patch committed.
#13
Automatically closed -- issue fixed for two weeks with no activity.
#14
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
I am also interested if there's a patch for this for Drupal 6 Simplenews.
#16
Does anyone know how to accomplish this in version 6?
#17
also looking for solution in D6
#18
I'll 5th that request for d6!
#19
I'll 6th that request for d6 :-)
#20
I seventh that!
#21
8th!
#22
Supporters are great, but only code can move us forward. Come on, this is not a dificult task. Novice coders are welcome!
#23
Took ages to find but there is a patch in this post which does what you want.
http://drupal.org/node/337628