joomlamailer.com

How do I make the newsletter box checked at default?

How do I make the newsletter box checked at default?

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

Edited by: chris - 10-Sep-2010 03:07:26

Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I make the newsletter box checked at default?

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

Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I make the newsletter box checked at default?

Thanks!

Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I make the newsletter box checked at default?

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?

Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I make the newsletter box checked at default?

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!

Administrator has disabled public posting. Please login or register in order to proceed.

Re: How do I make the newsletter box checked at default?

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...

Administrator has disabled public posting. Please login or register in order to proceed.