Results 1 to 4 of 4

Thread: How to add phone and to upload a files in contact owner form ?

  1. #1
    Thread Starter
    Expired Customer filip1996's Avatar
    Join Date
    Aug 2020
    Posts
    98
    Thanks
    9
    Thanked 0 Times in 0 Posts

    How to add phone and to upload a files in contact owner form ?

    Hello,
    How i can change the contact owner form....
    I change it the code from /themes/classipress/parts/widget-listing-author.php to add A phone number and a posibility to upload a file to send....

    I wish it with the next code but...

    " <label><?php _e( 'Phone', APP_TD ); ?>
    <input type="text" name="contact_phone" id="contact_phone" class="required" value="<?php echo esc_attr( $display_phone ); ?>">
    </label>"

    " <label><?php _e( 'Files', APP_TD ); ?>
    <input type="file" name="files_upload" id="files_upload" class="required" value="<?php echo esc_attr( $upload ); ?>">
    </label>"

    And after i add a code here in /wp-content/themes/classipress/includes/emails.php

    " $posted_phone = appthemes_filter( appthemes_clean( $_POST['phone'] ) );
    $upload_Files = appthemes_filter( appthemes_clean( $_UPLOAD['Files'] ) );
    .................................................. ............

    sprintf( __( 'Phone: %s', APP_TD ), $posted_phone ) . '<br />' .
    sprintf( __( 'Files: %s', APP_TD ), $upload_Files ) "

    But dont work, when i become the email its not atached the phone number and the files which i upload.

    Somebody can help me please ???
    What i need to change more ?

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,061 Times in 999 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. The Following User Says Thank You to ovidiubica For This Useful Post:

    filip1996 (December 21st, 2020)

  4. #3
    Thread Starter
    Expired Customer filip1996's Avatar
    Join Date
    Aug 2020
    Posts
    98
    Thanks
    9
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,061 Times in 999 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. The Following User Says Thank You to ovidiubica For This Useful Post:

    filip1996 (December 22nd, 2020)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Add a phone number to "Contact Owner" form?
    By launchwebdesign in forum Help Using ClassiPress
    Replies: 13
    Last Post: December 28th, 2020, 01:36 AM
  2. Email address of owner in the contact owner form
    By mllerena in forum Vantage General Discussion
    Replies: 1
    Last Post: May 29th, 2017, 08:28 AM
  3. Contact Business owner Form link doesn trigger form anymore
    By tradeamillion in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: May 16th, 2016, 10:58 AM
  4. Why wil mov video files not upload through custom form upload field
    By business640 in forum Help Using Vantage (Legacy)
    Replies: 4
    Last Post: May 5th, 2015, 06:35 AM