OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to remove fields from Vehicle discription (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

How to remove fields from Vehicle discription

jquesada (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to remove fields from Vehicle discription 14 Years, 1 Month ago
Karma: 0  
image 3

last one
Logged Logged
Last Edit: 2010/10/11 16:39 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:How to remove fields from Vehicle discription 14 Years, 1 Month ago
Karma: 102  
Hello,

I show for you how you can only Hide that, Because for real remove these fields - need rebuild full component with full error check and debug.

Also first please backup all files what you edit.

Also I will show how hide, but I not check how that will work - so you need understand with that possible errors

we will edit file admin.vehiclemanager.html.php function editVehicle

Please remove below code
Code:

    <?php if ($vehiclemanager_configuration['edocs']['allow']){  
    ?>
    <tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_EDOCUMENT_UPLOAD;?>:</strong>
      </td>
      <td align="left">
        <input class="inputbox" type="file" name="edoc_file" value="" size="50" maxlength="250" onClick="document.adminForm.edok_link.value ='';"/>    <!-- //+ -->
      </td>
    </tr>
    <tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_EDOCUMENT_UPLOAD_URL;?>:</strong>
      </td>
      <td align="left">
        <input class="inputbox" type="text" name="edocument_Link" value="<?php echo $row->edok_link; ?>" size="50" maxlength="250"/>
      </td>
    </tr>
    <?php
    }
    if (strlen($row->edok_link) > 0 ){
    ?>
    <tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_EDOCUMENT_DELETE;?>:</strong>
      </td>
      <td align="left">
        <?php echo $delete_edoc; ?>
      </td>
    </tr>
    <?php
    }
    ?>





Code:

<tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_LISTING_TYPE;?>:</strong>
      </td>
      <td align="left">
        <?php echo $listing_type_list;?>
      </td>
    </tr>





Code:

    <tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_PRISE_TYPE;?>:</strong>
      </td>
      <td align="left">
        <?php echo $test_list; ?>
      </td>
    </tr>




Code:

 <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_CONDITION_STATUS;?>:</strong>
            </td>
            <td align="left">
                <?php echo $condition_status_list; ?>
            </td>
        </tr>





Code:

<tr>
                <td valign="top" align="right">
                        <strong><?php echo _VEHICLE_MANAGER_LABEL_LISTING_STATUS;?>:</strong>
                </td>
                <td align="left">
                        <?php echo $listing_status_list; ?>
                </td>
        </tr>




Code:

<tr>
              <td colspan="2">
                      <hr size="2" width="100%" />
              </td>
            </tr>
            <tr>
                      <td colspan="2">
                              <h1><?php echo _VEHICLE_MANAGER_HEADER_TECHNICAL_OPTIONS?></h1>
                      </td>
              </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_ENGINE_TYPE;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="engine" size="80" value="<?php echo $row->engine;?>" />
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_TRANSMISSION_TYPE;?>:</strong>
            </td>
            <td align="left">
                <?php echo $transmission_type_list; ?>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_DRIVE_TYPE;?>:</strong>
            </td>
            <td align="left">
                <?php echo $drive_type_list; ?>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_NUMBER_CYLINDERS;?>:</strong>
            </td>
            <td align="left">
                <?php echo $num_cylinder_list; ?>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_NUMBER_SPEEDS;?>:</strong>
            </td>
            <td align="left">
                <?php echo $num_speed_list; ?>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_FUEL_TYPE;?>:</strong>
            </td>
            <td align="left">
                <?php echo $fuel_type_list; ?>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_CITY_FUEL_MPG;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="city_fuel_mpg" size="30" value="<?php echo $row->city_fuel_mpg;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_HIGHWAY_FUEL_MPG;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="highway_fuel_mpg" size="30" value="<?php echo $row->highway_fuel_mpg;?>" />                
            </td>
        </tr>        
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_WEELBASE;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="wheelbase" size="20" 
                  value="<?php echo $row->wheelbase;?>" />
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_WEELTYPE;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="wheeltype" size="80" 
                  value="<?php echo $row->wheeltype;?>" />
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_REARAXE_TYPE;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="rear_axe_type" size="80" 
                  value="<?php echo $row->rear_axe_type;?>" />
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_BRAKES_TYPE;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="brakes_type" size="80" 
                  value="<?php echo $row->brakes_type;?>" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                  <hr size="2" width="100%" />
            </td>
        </tr>
        
        
        
        <tr>
            <td colspan="2">
                  <h1><?php echo _VEHICLE_MANAGER_HEADER_EXTERIOR_OPTIONS?></h1>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_EXTERIOR_COLORS;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="exterior_color" size="30" value="<?php echo $row->exterior_color;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_NUMBER_DOORS;?>:</strong>
            </td>
            <td align="left">
                <?php echo $num_doors_list; ?>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_EXTERIOR_AMENITIES;?>:</strong>
            </td>
            <td align="left">
                <textarea name="exterior_amenities" cols="50" rows="8" ><?php echo $row->exterior_amenities;?></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                  <hr size="2" width="100%" />
            </td>
        </tr>
        
        
        <tr>
            <td colspan="2">
                  <h1><?php echo _VEHICLE_MANAGER_HEADER_INTERIOR_OPTIONS?></h1>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_INTERIOR_COLORS;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="interior_color" size="30" value="<?php echo $row->interior_color;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_NUMBER_SEATINGS;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="seating" size="30" value="<?php echo $row->seating;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_DASHBOARD_OPTIONS;?>:</strong>
            </td>
            <td align="left">
                <textarea name="dashboard_options" cols="50" rows="8"><?php echo $row->dashboard_options;?></textarea>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_INTERIOR_AMENITIES;?>:</strong>
            </td>
            <td align="left">
                <textarea name="interior_amenities" cols="50" rows="8" ><?php echo $row->interior_amenities;?></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                  <hr size="2" width="100%" />
            </td>
        </tr>
        
        
        
        <tr>
            <td colspan="2">
                  <h1><?php echo _VEHICLE_MANAGER_HEADER_OTHER_OPTIONS?></h1>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_SAFETY_OPTIONS;?>:</strong>
            <td align="left">
                <textarea name="safety_options" cols="50" rows="8"><?php echo $row->safety_options;?></textarea>
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_WARRANTY_OPTIONS;?></strong>
            <td align="left">&nbsp</td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_WARRANTY_BASIC;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="w_basic" size="30" value="<?php echo $row->w_basic;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_WARRANTY_DRIVETRAIN;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="w_drivetrain" size="30" value="<?php echo $row->w_drivetrain;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_WARRANTY_CORROSION;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="w_corrosion" size="30" value="<?php echo $row->w_corrosion;?>" />                
            </td>
        </tr>
        <tr>
            <td valign="top" align="right">
                <strong><?php echo _VEHICLE_MANAGER_LABEL_WARRANTY_ROADSIDE_ASSISTANCE;?>:</strong>
            </td>
            <td align="left">
                <input class="inputbox" type="text" name="w_roadside_ass" size="30" value="<?php echo $row->w_roadside_ass;?>" />                
            </td>
        </tr>
        
        
        
<!--
-->        
    <tr>
      <td colspan="2">
          <hr size="2" width="100%" />
      </td>
    </tr>       



Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»