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

    #16
    I would recommend trying to concatenate the title into the mail message and still use the v9_SendEmail function:
    Code:
    <mvt:assign name="l.mail:message" value="'Message from: ' $ g.contactName $ g.eol $ g.eol $ 'Title: ' $ g.title $ g.eol $ g.eol $ 'Email Address: ' $ g.contactEmail $ g.eol $ g.eol $ 'Message:' $ g.eol $ g.contactMessage" />
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #17
      That did the trick: a separate contact form running on another page with a custom field with the data value in the notification email. Thanks so much for your time and help!
      Now I just need to build out the custom fields and code them into the form and processing page.

      Comment


        #18
        Originally posted by William Davis View Post
        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.
        Do you have a CTUS form that uses reCAPTCHA? I have encountered one that has the code for reCAPTCHA in the CTUS template but it looks like something has not been set up correctly because the form can be submitted with checking the reCAPTCHA checkbox.
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment


          #19
          Originally posted by Lasttimetryingtoregister View Post
          Can you give any guidance on properly adding values to the value="SendEmail() in action? Or if there's any documentation for adding in new fields to the notification emails?
          I need to add 6 additional fields to the CTUS form that I have been able to add to a ReadyTheme other than Shadows. A how-to doc for this would really make it easy to move away from the EmporiumPlus Contact Manager.



          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #20
            Hi Leslie,

            Beyond looking into the LSK for more information on the v9_SendEmail function, this is the best I can recommend for now.

            Originally posted by Matt Zimmermann View Post
            I would recommend trying to concatenate the title into the mail message and still use the v9_SendEmail function:
            Code:
            <mvt:assign name="l.mail:message" value="'Message from: ' $ g.contactName $ g.eol $ g.eol $ 'Title: ' $ g.title $ g.eol $ g.eol $ 'Email Address: ' $ g.contactEmail $ g.eol $ g.eol $ 'Message:' $ g.eol $ g.contactMessage" />
            Matt Zimmermann

            Miva Web Developer
            Alchemy Web Development
            https://www.alchemywebdev.com
            Site Development - Maintenance - Consultation

            Miva Certified Developer
            Miva Professional Developer

            https://www.dev4web.net | Twitter

            Comment


              #21
              Originally posted by Matt Zimmermann View Post
              Hi Leslie,

              Beyond looking into the LSK for more information on the v9_SendEmail function, this is the best I can recommend for now.


              Ahhh, so this isn't quite ready to replace the EmporiumPlus Contact Manager multi-field contact form ability?
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment


                #22
                Hi Leslie,

                There shouldn't be a reason why you can't have multiple fields in in your form, you will just have to modify the send function.
                Matt Zimmermann

                Miva Web Developer
                Alchemy Web Development
                https://www.alchemywebdev.com
                Site Development - Maintenance - Consultation

                Miva Certified Developer
                Miva Professional Developer

                https://www.dev4web.net | Twitter

                Comment


                  #23
                  Originally posted by Matt Zimmermann View Post
                  Hi Leslie,

                  There shouldn't be a reason why you can't have multiple fields in in your form, you will just have to modify the send function.
                  Hmmm, okay... I "think" I understand. Sounds like it may get messy...
                  Leslie Kirk
                  Miva Certified Developer
                  Miva Merchant Specialist since 1997
                  Previously of Webs Your Way
                  (aka Leslie Nord leslienord)

                  Email me: [email protected]
                  www.lesliekirk.com

                  Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                  Comment


                    #24
                    Originally posted by lesliekirk View Post

                    Hmmm, okay... I "think" I understand. Sounds like it may get messy...
                    Thanks Matt - I was able to get past that part with only a few "errors". What about the meta http-equiv="refresh" URL?
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                    Comment


                      #25
                      Hi Leslie,

                      If you are referring to the refresh in case of error, you would need to add any fields you want to have refilled into the URL string.
                      Matt Zimmermann

                      Miva Web Developer
                      Alchemy Web Development
                      https://www.alchemywebdev.com
                      Site Development - Maintenance - Consultation

                      Miva Certified Developer
                      Miva Professional Developer

                      https://www.dev4web.net | Twitter

                      Comment

                      Working...
                      X