Multi Publication Subscription Form
If you are managing multiple publications and want to let your visitors choose which publication to subscribe to, we recommend using a multi publication subscription form. This requires basic HTML/Ajax knowledge and you will need access to your website's back end to insert the code.
Consider contacting your developer or reach out to our support agent if you need assistance.
Here are the steps on setting up the multi publication subscription form.
Publication Keys
In order for your subscription form to register new subscribers to the right publication, you will need to obtain your publication keys from eFlyerMaker. From the navigation menu, go to Lists and click Manage publications.
For each publication, click Get sign-up code.
Under the API tab, copy the Encrypted publication key.
For more information about eFlyerMaker's API, click here.
HTML Markup
Your subscription form is already generated, all you need to do is copy the code into your website. In the Publications management, click Get sign-up code, select the Ajax tab and copy the entire code into your website.
HTML Modifications
Below is the basic markup structure for your subscription form where you must make a few modifications to make your subscription form accept more than one publication.
Add <input type="hidden" name="simple" value="1" /> after the action input.
1 <input type="hidden" name="p" value="xxxxxxxxxxxxxxxxxxxx" />
Add all your publication keys in your p input. Here's an example with two publications.
<input type="hidden" name="p" value="xxxxxxxxxxxxxxxxxxxx,xxxxxxxxxxxxxxxxxxxx" />
Add a checkbox input for each publication where the name of the input is your publication key.
Publication 1 : <input type="checkbox" name="xxxxxxxxxxxxxxxxxxxx" value="1"> Publication 2 : <input type="checkbox" name="xxxxxxxxxxxxxxxxxxxx" value="1">
1 <div id="captcha_container">
2 <label>Please copy the code</label>
3 <div id="captcha_image">
4 <img src="https://s.eflyermaker.com/eflyerprofilemanager/captcha" alt="captcha" id="img_captcha" style="margin-bottom: 0.5em;"/>
5 </div>
6 <input type="text" id="input_captcha" name="input_captcha" value="" maxlength="8" style="width:300px;" />
7 <div id="refresh_captcha_div">
8 <a id="refresh_captcha" title="Click here" class="text-danger">New code ?</a>
9 </div>
10 </div>
11 <input type="checkbox" name="publication_agreement" id="publication_agreement" value="1"/>
12 I agree to receive this publication.
13 <label id="error_publication_agreement" for="publication_agreement" generated="true" class="text-danger error"></label>
14 <input type="checkbox" name="consent_policy" id="consent_policy" value="1">
15 I consent to receive electronic communications.
16 <label id="error_policy" for="consent_policy" generated="true" class="text-danger error"></label>
17 <button type="submit">Subscribe</button>
18 </form>
19 </div>
20 <!-- End eFlyerMaker Signup form -->
Transactional Messages Management
By default, your subscription confirmation email displays one publication. If you want to modify the template to display multiple publications or simply a generic text, navigate to Content and select Transactional Messages Management.
Go to the Confirmation of Subscription Email section and remove the following line:
1 <H2><strong>We have received your subscription request to <br />"[publication.name]"</strong></H2>
Replace the deleted line with the following Xslate script:
This will display in the subscription confirmation email all the publications your new subscriber has selected.