cotonti.com : Use the contact form not only on standalone? https://www.cotonti.com Laatste forum onderwerpen Cotonti en Sun, 22 Feb 2026 11:45:27 -0000 foxhound Thanks for that but I know how to include a form (with ajax). I was just hoping the default contact plugin could be used so contacts were actually written to the DB and any of the staff could reply. (easier than sharing mail accounts).

]]>
Di, 18 Nov 2014 00:19:37 -0000
Dayver For first step try use read AJAX Helpers in Cotonti and in any tpl include html code an example:

        <div id="ajax_contact">
          <form action="index.php?e=contact" method="post" name="contact_ajax" id="contact_ajax" class="ajax post-ajax_contact">
          ...
          any your code from contact form
          ....
          <button type="submit" class="btn btn-primary">{PHP.L.Submit}</button>
          </form>
        <div>

 

]]>
Zo, 16 Nov 2014 14:08:58 -0000
foxhound I am trying to allow me to access the contact form (the default plugin coming with the package) from a page, not just the standalone page.
I would like to use the form from within other areas on the website as well.

I have no idea how (and if even) I can achieve this so I tried changing the hooks to page and some other things but except making sure the plugin dopes not work at all I cant get anywhere.

I hope there is someone who is able to help me with this :)

]]>
Wo, 12 Nov 2014 16:34:22 -0000