How do I make the newsletter box checked at default?

More
09 Sep 2010 05:54 #162 by drewsu2
I want to make the newsletter box checked at default so that the user has to uncheck it if they dont want to be included in the newsletter.

Here is the line of code that I need to edit and put "checked" at the end: <input type="checkbox" value="1" name="newsletter">

But where do I find it?

Thanks in advance

Please Log in or Create an account to join the conversation.

More
09 Sep 2010 12:35 #163 by chris
Hi,

You can find this code in plugins/system/joomailermailchimpsignup.php at various places. However, please bear in mind that it is recommended that the checkbox be unchecked by default. This is stated in the Mailchimp terms and conditions.

Regards

Please Log in or Create an account to join the conversation.

More
09 Sep 2010 18:42 #170 by drewsu2

Please Log in or Create an account to join the conversation.

More
02 Jun 2011 12:02 #1256 by dahringer
Can somebody plz explain me what to do to make the checkbox checked by default

the code I founded looks like this <input type=\'checkbox\' name=\'newsletter\' id=\'newsletter\' value=\'1\' '.$checked.'/>';

but what do I need to change?

Please Log in or Create an account to join the conversation.

More
03 Jun 2011 00:40 #1268 by compojoom
well in the signup plugin you will need to change th e$checked to checked="checked" - of course be carefull about the php syntax...
BUT I DISCOURAGE YOU from making this change! This is something that mailchimp doesn't advise you to do!

Please Log in or Create an account to join the conversation.

More
20 Mar 2012 18:36 #2236 by siposendre
Can you please send me an example of the joomailermailchimpsignup.php file? I still don't know how to make the checkbox checked by default in Joomla signup form.
Yes, I know that it is recommended to be unchecked by default...

Please Log in or Create an account to join the conversation.