Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter simoneantonicchio

    (@simoneantonicchio)

    I have another problem.. the phone number in not saved .. i have followed custom templates procedures but into the booking details the space for the phone number is empty.. i think the input is not saved. Copy to you my php file:
    <?php
    /*
    * This file generates the default booking form fields. Events Manager Pro does not use this file.
    */
    /* @var $EM_Event EM_Event */
    //Here we have extra information required for the booking.
    ?>
    <?php if( !is_user_logged_in() && apply_filters(’em_booking_form_show_register_form’,true) ): ?>
    <?php //User can book an event without registering, a username will be created for them based on their email and a random password will be created. ?>
    <input type=”hidden” name=”register_user” value=”1″ />
    <p>
    <label for=’user_name’><?php _e(‘Name’,’events-manager’) ?></label>
    <input type=”text” name=”user_name” id=”user_name” class=”input” value=”<?php if(!empty($_REQUEST[‘user_name’])) echo esc_attr($_REQUEST[‘user_name’]); ?>” />
    </p>
    <p>
    <label for=’dbem_phone’><?php _e(‘Phone’,’events-manager’) ?></label>
    <input type=”text” name=”dbem_phone” id=”dbem_phone” class=”input” value=”<?php if(!empty($_REQUEST[‘dbem_phone’])) echo esc_attr($_REQUEST[‘dbem_phone’]); ?>” />
    </p>
    <p>
    <label for=’user_email’><?php _e(‘E-mail’,’events-manager’) ?></label>
    <input type=”text” name=”user_email” id=”user_email” class=”input” value=”<?php if(!empty($_REQUEST[‘user_email’])) echo esc_attr($_REQUEST[‘user_email’]); ?>” />
    </p>
    <?php do_action(’em_register_form’); //careful if making an add-on, this will only be used if you’re not using custom booking forms ?>
    <?php endif; ?>

    <p>
    <label for=’dbem_phone’><?php _e(‘Phone’,’events-manager’) ?></label>
    <input type=”text” name=”dbem_phone” id=”dbem_phone” class=”input” value=”<?php if(!empty($_REQUEST[‘dbem_phone’])) echo esc_attr($_REQUEST[‘dbem_phone’]); ?>” />
    </p>

    <p>
    <label for=’booking_comment’><?php _e(‘Comment’, ‘events-manager’) ?></label>
    <textarea name=’booking_comment’ rows=”2″ cols=”20″><?php echo !empty($_REQUEST[‘booking_comment’]) ? esc_attr($_REQUEST[‘booking_comment’]):” ?></textarea>
    </p>

    Thread Starter simoneantonicchio

    (@simoneantonicchio)

    thanks work! ??

    Thread Starter simoneantonicchio

    (@simoneantonicchio)

    Thanks for reply. I’ll try. ??

    For this i have worked inside custom CSS . “Display:none; ” under the the social icon id that u don’t want displayed.

    Thread Starter simoneantonicchio

    (@simoneantonicchio)

    @anitrawolf You are welcome ??

    Thread Starter simoneantonicchio

    (@simoneantonicchio)

    I have modified index.php file inside template folder (into the plugin directory). In particular i have modified manually the bold part of code into the line under // Timer Settings // –> $time_updated = date(“2018/01/18 18:00:00“, strtotime($timer_state));
    Hope to help someone else!

Viewing 6 replies - 1 through 6 (of 6 total)