For add ne vehicle type in vehicle manager you need go to file
{yours host}/administrator/components/com_vehiclemanager/admin.vehiclemanager.php
find code like
Code: |
$vehicletype[] = mosHtml::makeOption('sedan', _VEHICLE_MANAGER_OPTION_SEDAN);
$vehicletype[] = mosHtml::makeOption('convertible', _VEHICLE_MANAGER_OPTION_CONVERTIBLE);
$vehicletype[] = mosHtml::makeOption('coupe', _VEHICLE_MANAGER_OPTION_COUPE);
$vehicletype[] = mosHtml::makeOption('crossover', _VEHICLE_MANAGER_OPTION_CROSSOVER);
$vehicletype[] = mosHtml::makeOption('hatchback', _VEHICLE_MANAGER_OPTION_HATCHBACK);
$vehicletype[] = mosHtml::makeOption('pickup', _VEHICLE_MANAGER_OPTION_PICKUP);
$vehicletype[] = mosHtml::makeOption('suv', _VEHICLE_MANAGER_OPTION_SUV);
$vehicletype[] = mosHtml::makeOption('truck', _VEHICLE_MANAGER_OPTION_TRUCK);
$vehicletype[] = mosHtml::makeOption('sedan', _VEHICLE_MANAGER_OPTION_SEDAN);
$vehicletype[] = mosHtml::makeOption('convertible', _VEHICLE_MANAGER_OPTION_CONVERTIBLE);
$vehicletype[] = mosHtml::makeOption('coupe', _VEHICLE_MANAGER_OPTION_COUPE);
$vehicletype[] = mosHtml::makeOption('crossover', _VEHICLE_MANAGER_OPTION_CROSSOVER);
$vehicletype[] = mosHtml::makeOption('hatchback', _VEHICLE_MANAGER_OPTION_HATCHBACK);
$vehicletype[] = mosHtml::makeOption('pickup', _VEHICLE_MANAGER_OPTION_PICKUP);
$vehicletype[] = mosHtml::makeOption('suv', _VEHICLE_MANAGER_OPTION_SUV);
$vehicletype[] = mosHtml::makeOption('truck', _VEHICLE_MANAGER_OPTION_TRUCK);
$vehicletype[] = mosHtml::makeOption('wagon', _VEHICLE_MANAGER_OPTION_WAGON);
and add to it
some like:
[code]
$vehicletype[] = mosHtml::makeOption('wagon2','wagon2');
|
exactly so you will need do for file, if you have Pro version:
{yours host}/administrator/components/com_vehiclemanager/admin.vehiclemanager.php
also in file:
You will need add exactly as before row below
Code: |
$vtype['sedan'] = _VEHICLE_MANAGER_OPTION_SEDAN;
$vtype['convertible'] = _VEHICLE_MANAGER_OPTION_CONVERTIBLE;
$vtype['coupe'] = _VEHICLE_MANAGER_OPTION_COUPE;
$vtype['crossover'] = _VEHICLE_MANAGER_OPTION_CROSSOVER;
$vtype['hatchback'] = _VEHICLE_MANAGER_OPTION_HATCHBACK;
$vtype['pickup'] = _VEHICLE_MANAGER_OPTION_PICKUP;
$vtype['suv'] = _VEHICLE_MANAGER_OPTION_SUV;
$vtype['truck'] = _VEHICLE_MANAGER_OPTION_TRUCK;
$vtype['wagon'] = _VEHICLE_MANAGER_OPTION_WAGON;
|
add row:
Code: |
$vtype['wagon2'] = 'wagon2';
|
Thanks,
OrdaSoft team