Announcement

Collapse
No announcement yet.

How to create a Contact us form in the Shadows Template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Matt Zimmermann
    replied
    Hi Bill,

    There is visual feedback on page as well. The robot would have to get past the math challenge, the honey-pot, and enable the form by either performing a touch or mouse action before it could send.

    Leave a comment:


  • William Davis
    replied
    Originally posted by Matt Zimmermann View Post
    With Andreas' help, I was able to track down a couple of issues with the form processor which could arise if the site is using a third-party service as their mail server. Additionally, I have added a visitor confirmation email to the function to give the visitor a record that their message was received. The updated code can be found on GitHub: https://github.com/mivaecommerce/Ext...master/contact
    That's great. Though some store owners might want to consider a visitor confirmation notification message online versus a email should a form robot manages to get past human math challenge question.

    Leave a comment:


  • Matt Zimmermann
    replied
    With Andreas' help, I was able to track down a couple of issues with the form processor which could arise if the site is using a third-party service as their mail server. Additionally, I have added a visitor confirmation email to the function to give the visitor a record that their message was received. The updated code can be found on GitHub: https://github.com/mivaecommerce/Ext...master/contact

    Leave a comment:


  • PCINET - Andreas
    replied
    Hey Dan! Yes, latest version 5.31 and Matt is already looking into it.

    Leave a comment:


  • alphabet
    replied
    Are the sites hosted with an updated MivaScript engine?

    Leave a comment:


  • PCINET - Andreas
    replied
    We are the developers behind invinciblerecordings :) I got it to work but only by downgrading the sendmail function to the previous one > sendmail(). The v9_sendmail() is returning only an error and never sends the email. I tested on a Miva hosted site and a host4less, always the same result > so not a server issue.

    Anybody out there who got it to work using the v9_sendmail function used at https://github.com/mivaecommerce/Extensions?

    Leave a comment:


  • William Davis
    replied
    If you are going to implement a contact us form, consider implementing some type of CAPTCHA such as Google reCAPTCHA to significantly reduce the amount SPAM, especially when leveraged with strong eMail client Inbox rules.

    Leave a comment:


  • InvincibleRecordings
    replied
    Opps! Thanks for the heads up GDesigns. I see you linked that thread https://www.miva.com/forums/forum/de...tus-page/page4

    This already is addressing the issue and has my developer discussing it there as well. Can the moderator please delete this thread - its not needed. thx

    Leave a comment:


  • GDesigns
    replied
    This may help:
    Originally posted by Matt Zimmermann View Post
    Hi Everybody,

    Commencing with the next maintenance releases of Elements and Shadows, and included in all future ReadyThemes, I am happy to announce the official Contact Extension. The code, installation instructions, and demonstration links can all be found in the new Extension repository on GitHub: https://elements.mivareadythemes.com/contact-us.html . Let me know if you have any questions.
    See also https://www.miva.com/forums/forum/de...tus-page/page4

    and https://github.com/mivaecommerce/Extensions

    Leave a comment:


  • How to create a Contact us form in the Shadows Template

    We are have some difficulty creating a contact us form in the Shadows Template. We are using the code below but get an error message is red: "We are sorry, there was a problem processing your request". Oh - and no email is sent out to us to see.



    <mvt:item name="html_profile" />
    <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <base href="&mvt:global:basehref;">
    <mvt:if expr="NOT ISNULL l.settings:page:title">
    <title>&mvt:page:title;</title>
    <mvt:else>
    <title>&mvt:store:name;: &mvt:page:name;</title>
    </mvt:if>
    <mvt:item name="head" param="css_list" />
    <mvt:item name="head" param="head_tag" />
    </head>
    <body id="js-&mvte:page:code;" class="o-site-wrapper t-page-&mvt:global:pageClass;">
    <mvt:item name="hdft" param="global_header" />

    <section class="o-layout o-layout--column-reverse o-layout--row-reverse--l">
    <div class="o-layout__item u-width-12 u-width-9--l u-width-10--w">
    <section class="o-layout">
    <div class="o-layout__item">
    <h1 class="c-heading-delta u-text-bold u-text-uppercase">&mvte:page:name;</h1>
    <hr class="c-keyline">
    </div>
    </section>

    <section class="o-layout">
    <div class="o-layout__item">
    <mvt:item name="hdft" param="header" />
    </div>
    </section>

    <section class="o-layout">
    <div class="o-layout__item">
    <mvt:item name="readytheme" param="contentsection( 'contact_form' )" />
    </div>
    </section>

    <section class="o-layout">
    <div class="o-layout__item">
    <mvt:item name="hdft" param="footer" />
    </div>
    </section>
    </div>
    <aside class="o-layout__item u-width-12 u-width-3--l u-width-2--w">
    <mvt:item name="readytheme" param="navigationset( 'static_navigation' )" />
    </aside>
    </section>

    <mvt:item name="hdft" param="global_footer" />
    </body>
    </html>
Working...
X