Check all lists by default on subscription page ?

Discussion about the phpList community

Check all lists by default on subscription page ?

Postby airelle » 1:24pm, Wed 22 Oct, 2014

Hello !

Is there an option to check all the list checkboxes displayed on the subscription page ?
I would like to have all of them automatically checked...

Many thanks in advance !

Airelle
ps. I'm using PHPList 3.0.10.
airelle
PL Nut
 
Posts: 37
Joined: 4:17pm, Thu 10 Jan, 2013

Re: Check all lists by default on subscription page ?

Postby Dragonrider » 1:47pm, Wed 22 Oct, 2014

Can you not do that from the Edit a Subscribe page? In the Select lists to offer section.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Check all lists by default on subscription page ?

Postby airelle » 1:56pm, Wed 22 Oct, 2014

In the "lists" section when I edit my subscription page, I can select which lists I want to *display* for the visitor. But the lists are displayed using an UNchecked box... I would like to have the checkboxes automatically checked... I can't see option for that.

Could you help ?
airelle
PL Nut
 
Posts: 37
Joined: 4:17pm, Thu 10 Jan, 2013

Re: Check all lists by default on subscription page ?

Postby Dragonrider » 2:58pm, Wed 22 Oct, 2014

Theoretically there is, you need to add checked to the end of this bit of code:
[/code]<input type="checkbox" name="list[1]" value="signup" checked />[/code]

However this seems to work only when you use a custom subscribe page inserted into an existing page.

The version 2 documentation shows how this can be done and is valid for version 3.
The new Version 3 documentation is currently been written.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom


Return to Community

Who is online

Users browsing this forum: No registered users and 2 guests