The aweber mod creates a check box to receive newsletter when person registers as new user. The check box is currently defaulted 'NOT checked'. I would like to have it's default setting as 'CHECKED'

How can I toggle this on?

Thanks
Jerry Christie

Comments

victorburgos’s picture

Hi Jerry.
Edit aweber.module and change value from 0 to 1:
'#title' => t(variable_get('aweber_option_text', 'Sign up for our newsletter.')),
'#default_value' => 1,

-----Español----

Edita aweber.module y cambia el valor de 0 a 1:
'#title' => t(variable_get('aweber_option_text', 'Sign up for our newsletter.')),
'#default_value' => 1,

coltrane’s picture

Title: How can I have default of 'newsletter box' = CHECKED » Control default of newsletter signup checkbox
Component: Miscellaneous » Code
Category: support » task

This should be an option for administrators to decide so there should be a setting for the default_value that's configurable from the AWeber admin page.

coltrane’s picture

Status: Active » Fixed

HEAD and DRUPAL-5 branch code now has an option in Administer > User management > AWeber > Settings for controlling the default.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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