Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Jacob,

    Although we made some pages for the v6, most of the AcyMailing documentation you’ll find on our site has been made for the v5 :/
    But don’t worry, we are currently preparing a complete documentation for the v6 ??

    This documentation will be common to Joomla and WordPress users (apart from front-end features like the widgets) as almost all the features are identical on both those cms ??

    For the v6 on WordPress, you could use an external subscription form like this one:

    
    <form action="https://YOURWEBSITE/wp-admin/admin-ajax.php" method="post">
     <table class="acymailing_form">
     <tr>
     <td><label for="user_name">Name</label></td>
     <td><input id="user_name" type="text" name="user[name]" value="" /></td>
     </tr>
     <tr>
     <td><label for="user_email">E-mail</label></td>
     <td><input id="user_email" type="text" name="user[email]" value="" /></td>
     </tr>
     <tr>
     <td colspan="2" ><input class="button" type="submit" value="Subscribe" name="Submit" /></td>
     </tr>
     </table>
     
     <input type="hidden" name="ctrl" value="frontusers"/>
     <input type="hidden" name="task" value="subscribe"/>
     <input type="hidden" name="page" value="acymailing_front"/>
     <input type="hidden" name="action" value="acymailing_frontrouter"/>
     <input type="hidden" name="noheader" value="1"/>
    
     <input type="hidden" name="redirect" value="https://YOUR_REDIRECT_URL"/>
     <input type="hidden" name="visiblelists" value=""/>
     <input type="hidden" name="hiddenlists" value="YOUR_LISTS"/>
     </form>
    

    In this example, you’ll have to replace:
    – YOURWEBSITE by your site’s domain name
    – YOUR_REDIRECT_URL by the URL on which you want the user to be redirected after being subscribed
    – YOUR_LISTS by the ID of the lists you want the user to be subscribed to, separated by a comma. You can find the list IDs on the lists listing.

    Have a nice day,
    Jeremy – Acyba team

    S, there is documentation on how to do this with v5 on wordpress? If so, can you point me in the right direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form as html’ is closed to new replies.