OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Can't save Vehicle Type and Condition! How to fix (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

Can't save Vehicle Type and Condition! How to fix

borkowski-edv (Visitor)
Posts: 0
graphgraph
User Offline
Can't save Vehicle Type and Condition! How to fix 14 Years, 4 Months ago
Karma: 0  
If you can't save Vehicle Type and Conditions:

Open admin.vehicletype.php

Search for this line (Vehicle Type):

$vehicle_type_list = mosHTML :: selectList($vehicletype, 'drive_type', 'class="inputbox" size="1"', 'value', 'text', $vehicle->vtype);

and change it to this:

$vehicle_type_list = mosHTML :: selectList($vehicletype, 'vtype', 'class="inputbox" size="1"', 'value', 'text', $vehicle->vtype);

---

Search for this line (Conditions):

$condition_status_list = mosHTML :: selectList($condition, 'condition', 'class="inputbox" size="1"', 'value', 'text', $vehicle->vcondition);

and change it to this:

$condition_status_list = mosHTML :: selectList($condition, 'vcondition', 'class="inputbox" size="1"', 'value', 'text', $vehicle->vcondition);

---

Thats all
Logged Logged
The administrator has disabled public write access.
Go to top
»