Contact form edit

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  CTHthemes 3 years ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3973

    Tiago7
    Participant

    Support Expired

    Hello,
    I need help changing the Azura contact form
    the one provided is missing the phone nr request.
    I already spent hours trying to find how to edit the form but with no success.
    please help me with this.
    thanks

    #4006

    CTHthemes
    Keymaster

    Hi,
    You need to change it from two php file
    1- for front-end display: \Root/templates/capture/html/com_azurapagebuilder/plugin/shortcodes_template/azuracontactform-capture.php file
    2 – for back-end sending email content: \Root/components/com_azurapagebuilder/controllers/contact.php file -> sendemail function.

    thanks.

    #4053

    Tiago7
    Participant

    Support Expired

    Thank you,
    I have another problem, and this should be the last one:)
    how do I add a second email receiver to the contact form? I don’t understand php, just a little of html and css.

    thank you again for your precious time.

    #4084

    CTHthemes
    Keymaster

    Hi,
    Edit your contact.php file like this: http://prntscr.com/8svuox

    Thanks.

    #4129

    Tiago7
    Participant

    Support Expired

    Hello,
    I am sorry but it is not working.
    I did exactly what you said, and then I went to back end, azura/ contact form, and there wasn’t an option to insert second email. them I thought, ok, I should replace:
    $mail->addRecipient(array($receiveEmail,’your_second_email_adress’)); for
    $mail->addRecipient(array($receiveEmail,’secondemail@gmail.com’));
    then I tested but id didn’t work, I only received the contact form on my first email, nothing on second.
    what is wrong?
    thanks

    #4163

    CTHthemes
    Keymaster

    Hi,
    Change ‘secondemail@gmail.com’ with your second email address. Thanks.

    #4198

    Tiago7
    Participant

    Support Expired

    That’s exactly what I did before posting last post. Secondemail@gmail.com was just an example cause I didn’t want to type my real email.
    That code is not working. I double checked like 10 times I had it exactly the same as in picture.
    Thanks

    #4229

    CTHthemes
    Keymaster

    Hi,
    Please try this instead: http://prntscr.com/8vfr4w

    Thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+