Osclass forums

Support forums => Plugins => Cars attributes => Topic started by: saiyedsarwar1987 on December 31, 2014, 09:10:31 pm

Title: Cars attribute transmission wont change
Post by: saiyedsarwar1987 on December 31, 2014, 09:10:31 pm
Hi there,

can any 1 help me. In my website the transmission wont change from automatic to manual when the advertisment is posted. Meaning if a person tried to post an advertisment and selects manual as transmission still when the ad is posted it shows automatic.

my website is www.jdmuae.com/classified (http://www.jdmuae.com/classified)

reply appreciated.

<div class="row _200">
        <?php
            if( Session::newInstance()->_getForm('pc_transmission') != '' ) {
                $detail['e_transmission'] = Session::newInstance()->_getForm('pc_transmission');
            }
        ?>
        <label><?php _e('Transmission', 'cars_attributes'); ?></label>
        <select name="transmission" id="transmission">
            <option value="MANUAL" <?php if(@$detail['e_transmission'] == 'MANUAL') { echo 'selected'; } ?>><?php _e('Manual', 'cars_attributes'); ?></option>
            <option value="AUTO" <?php if(@$detail['e_transmission'] == 'AUTO') { echo 'selected'; } ?>><?php _e('Automatic', 'cars_attributes'); ?></option>
        </select>
    </div>