Tagged: 

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

    php code from file below, I see the line where the code should be changed, but which part of the code? I changed a few things, nothing worked so I changed it back. It states the form was sent but I never receive the email. It also doesn’t go to the email on the Settings – General area.

    <?php

    /**

    * The Contact form gets generated by the avia_form class located in framework/php/class-form-generator.php

    */

    $form_args = array(

    “heading” => “<h3>”.__(‘Send us mail’,'avia_framework’).”</h3>”,

    “success” => “<h3>”.__(‘Your message has been sent!’,'avia_framework’).”</h3><p>”.__(‘Thank you!’,'avia_framework’).”</p>”,

    “submit” => __(‘Send’,'avia_framework’),

    “action” => get_permalink()

    );

    $elements = array(

    ‘yourname’ => array(‘type’=>’text’, ‘label’=>__(‘Name’,'avia_framework’), ‘check’=>’is_empty’), //user name

    ‘email’ => array(‘type’=>’text’, ‘label’=>__(‘E-Mail’,'avia_framework’), ‘check’=>’is_email’), //user email

    ‘website’ => array(‘type’=>’text’, ‘label’=>__(‘Website’,'avia_framework’), ‘check’=>”), //user website

    ‘subject’ => array(‘type’=>’text’, ‘label’=>__(‘Subject’,'avia_framework’), ‘check’=>’is_empty’), //subject

    ‘message’ => array(‘type’=>’textarea’,'label’=>__(‘Message’,'avia_framework’), ‘check’=>’is_empty’), //message

    ‘myemail’ => array(‘type’=>’hidden’, ‘label’=>”, ‘check’=>”, ‘value’=> avia_get_option(‘email’) ), //email adress the form should be sent to ***WHAT GETS CHANGED???***

    ‘myblogname’=> array(‘type’=>’hidden’, ‘label’=>”, ‘check’=>”, ‘value’=> get_option(‘blogname’) ), //name of the website, gets added to the subject line

    ‘username’ => array(‘type’=>’decoy’, ‘label’=>”, ‘check’=>’must_empty’), //decoy input field for bots, input field gets hidden, if bot enters value form wont be submitted

    );

    $contact_form = new avia_form($form_args);

    $contact_form->create_elements($elements);

    $contact_form->display_form();

    ?>

    #84229

    I figured it out myself

    #84230

    Glad you figured it out. Let us know if you have more questions.

    Regards,

    Mya

    #84231

    And what was it?? I am NOT getting any emails sent from the theme form – what to change, where?

    #84232

    Hello,

    You can change that on your Flashlight > Theme Options > Contact & Social Stuff.

    Regards,

    Ismael

    #84233

    Hi there,

    I am not recevinng emails from the Contact Form as well, although I did change the Email to my address.

    What’s the problem?

    Please advise…

    Thanks!

    Shay

    #84234

    Problem resolved!

    Thanks!

    Shay

    #84235

    Hey!

    Great. Thread closed.

    Regards,

    Peter

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

The topic ‘Email form – Flashlight theme – where do I change code to send to my email?’ is closed to new replies.