Posted by gafir777 on October 31, 2009 at 3:37pm
Jump to:
| Project: | Simplenews |
| Version: | 6.x-1.0-rc6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hello, I'm trying to modify the form (the form block actually) to hide the subscribe / unsubscribe radio buttons and instead use an input hidden type with a value = "Subscribe".
I found the function called is _simplenews_subscription_manager_form($subscription) from other functions. Is there a way I could just change the form without making a custom function, then call the new custom functions from everywhere where _simplenews_subscription_manager_form($subscription) is executed?
I didn't found any post that really covered it, but if there is one for Drupal 6, that would be great.
Thanks!
Comments
#1
or write a module with a hook_form_alter() or use CSS to hide the radio's.
#2
thanks!
#3
Feel free to close your own support issues when answered.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.