Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378
{"id":495,"date":"2020-08-31T19:55:51","date_gmt":"2020-09-01T02:55:51","guid":{"rendered":"https:\/\/blog.dadamailproject.com\/?p=495"},"modified":"2020-08-31T19:55:56","modified_gmt":"2020-09-01T02:55:56","slug":"v11-11-x-features-using-the-new-landing-page-subscription-form-options","status":"publish","type":"post","link":"https:\/\/blog.dadamailproject.com\/2020\/08\/31\/v11-11-x-features-using-the-new-landing-page-subscription-form-options\/","title":{"rendered":"v11.11.x Features: Using the new Landing Page Subscription Form Options"},"content":{"rendered":"
\n

Dada Mail supports a variety of ways to add a subscription form to your site. From having simple HTML code blocks to copy and then paste into your own page’s HTML, to Javascript-backed forms that show the results in a modal window, to RESTful API’s to roll your own subscription schemes – there’s a lot<\/em> of options. <\/p>\n\n\n\n

We’re going to talk about one of the easiest ways to integrate a subscription form into your site: using one of the landing pages. <\/p>\n\n\n\n

Dada Mail has the ability to just show the subscription form in a web browser and nothing else. Using these landing pages just means creating a link to the page and having your visitors visit it. <\/p>\n\n\n\n

Advantages of linking to the subscription page include never having to update the subscription form itself when you change the list settings. As long as the list exists, the subscription form on this outside page should always work. <\/p>\n\n\n\n

Another advantage is that you could embed\/include this subscription landing page into a modal window that pops up using Javascript, and know that everything that needs to be there, will already be there with no additional coding. <\/p>\n\n\n\n

If you’re using a platform like WordPress, there’s a variety of plugins that’ll allow you to create a modal window, and add the subscription form into it just by giving the plugin the landing page’s URL. Dada Mail also comes with the ability to set up its own modal window,and below we’ll show you how that works. <\/p>\n\n\n\n

Log into the list control panel of the list you want to work with. Navigate to, Appearance: Subscription Form HTML<\/strong>. The first tab is what we want, labeled: Landing Page<\/strong>. From here, there’s two options. The first, Full Landing Page<\/strong>, will show the subscription form with the full layout\/design of the screen, as well as the subscription form itself. Here’s an example from our own mailing list: <\/p>\n\n\n\n

https:\/\/dadamailproject.com\/cgi-bin\/dada\/mail.cgi\/subscribe_landing\/dada_announce\/<\/strong><\/a><\/p>\n\n\n\n

The second option is what we’re more interested in: Just The Subscription Form<\/strong>:<\/p>\n\n\n\n

https:\/\/dadamailproject.com\/cgi-bin\/dada\/mail.cgi\/modal_subscribe_landing\/dada_announce\/<\/a><\/strong><\/p>\n\n\n\n

<\/a><\/figure>\n\n\n\n

This will show well: just the subscription form, and nothing else. This is what can then be easily added to a modal window that you then pop out using an outside JavaScript library or platform plugin (among other options that may be available to you). <\/p>\n\n\n\n

Dada Mail comes with just such a Javascript library called, lity<\/a><\/strong>. We chose to include it in our distribution of Dada Mail, because it was small, lightweight, and didn’t come with too many prerequisites, which makes it easier for you to utilize it yourself. <\/p>\n\n\n\n

Dada Mail presents you with all the code you’ll need to wrangle both lity’s popup modal window and Dada Mail’s subscription form in the landing page. It’ll also show you a working preview. (click, View Working Preview<\/strong>…). Use as-is, or adjust to taste. <\/p>\n\n\n\n

You can see this being used on our own website (as of this writing – we may redesign soon!) – go to: https:\/\/dadamailproject.com\/<\/strong><\/a> and click on the image labeled, Subscribe and Receive Dada Mail News and Updates<\/strong>.<\/p>\n\n\n\n

<\/a><\/figure>\n\n\n\n

When you do, the modal window provided by lity will pop up, with the subscription form created by Dada Mail! <\/p>\n\n\n\n

<\/a><\/figure>\n\n\n\n

But of course, you can use this landing page however you’d like. Let’s use a WordPress plugin, called WP Post Popup<\/a><\/strong>. Once installed and activated, you can turn any link into a modal window. In this example, we just have to add the CSS class, “modal-link<\/strong>” into the link tag that’s pointed to our landing page URL: <\/p>\n\n\n\n

<a href=\"https:\/\/dadamailproject.com\/cgi-bin\/dada\/mail.cgi\/modal_subscribe_landing\/dada_announce\/\" class=\"modal-link\" >\n    Here's an example\n<\/a><\/code><\/pre>\n\n\n\n

And here’s that HTML code working in our own WordPress blog: <\/p>\n\n\n\nHere’s the working example.<\/a>\n\n\n\n


And that’s all there is to it! Of course there are other plugins that may do more sophisticated jobs, but may need a bit more setup to do so. We encourage you to see what plugin options are there for you to take advantage of.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"

Dada Mail supports a variety of ways to add a subscription form to your site. From having simple HTML code blocks to copy and then paste into your own page’s HTML, to Javascript-backed forms that show the results in a modal window, to RESTful API’s to roll your own subscription schemes – there’s a lot […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[20],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paVOyw-7Z","_links":{"self":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/495"}],"collection":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":31,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":534,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/495\/revisions\/534"}],"wp:attachment":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}