geeksforsocialchange / gfsc-v3

GFSC site migration to Hugo
https://gfsc.studio
1 stars 2 forks source link

add embeds for our hosted news letter. #395

Closed aaaaargZombies closed 7 months ago

aaaaargZombies commented 8 months ago

User story

We're migrating from mailerlite to listmonk (news.gfsc.studio)

Acceptance criteria

Implementation notes & questions

existing forms

$rg mailerlite
themes/gfsc/layouts/partials/bigsignup.html
8:    action="https://static.mailerlite.com/webforms/submit/g2r6z4"

themes/gfsc/layouts/shortcodes/smallsignup.html
12:    action="https://static.mailerlite.com/webforms/submit/g2r6z4"

listmonk provided embed code

<form method="post" action="https://news.gfsc.studio/subscription/form" class="listmonk-form">
    <div>
        <h3>Subscribe</h3>
        <input type="hidden" name="nonce" />
        <p><input type="email" name="email" required placeholder="E-mail" /></p>
        <p><input type="text" name="name" placeholder="Name (optional)" /></p>

        <p>
          <input id="543ba" type="checkbox" name="l" checked value="543ba6cd-4b0f-4fdd-af74-77c5f30896e8" />
          <label for="543ba">GFSC Updates</label>
        </p>

        <p><input type="submit" value="Subscribe" /></p>
    </div>
</form>

Implementation plan