OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How add new vehicle type to vehicle manager (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

How add new vehicle type to vehicle manager

admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
How add new vehicle type to vehicle manager 13 Years, 1 Month ago
Karma: 101  
How add new vehicle type to vehicle manager

You need:
Open file:
{yours
site}/administrator/components/com_vehiclemanager/admin.vehiclemanager.php
find function "editVehicle"

find rows:
//Select list for vehicle type
$vehicletype[] =
mosHtml::makeOption('sedan',_VEHICLE_MANAGER_OPTION_SEDAN);

and there are add some like:
$vehicletype[] =
mosHtml::makeOption('motorcycles',_VEHICLE_MANAGER_OPTION_motorcycles);


after that go to file:
{yours site}/components/com_vehiclemanager/vehiclemanager.php

find row:
$vehicletype[] =
mosHtml::makeOption('sedan',_VEHICLE_MANAGER_OPTION_SEDAN);

and after it add:
$vehicletype[] =
mosHtml::makeOption('motorcycles',_VEHICLE_MANAGER_OPTION_motorcycles);


find row:
$vtype['sedan'] = _VEHICLE_MANAGER_OPTION_SEDAN;

and after it add:
$vtype['motorcycles'] = _VEHICLE_MANAGER_OPTION_motorcycles;

after that please add _VEHICLE_MANAGER_OPTION_motorcycles constant to yours
language files:
{yours site}/components/com_vehiclemanager/language/

Thanks,
OrdaSoft team
Logged Logged
Last Edit: 2011/02/18 08:54 By admin.
The administrator has disabled public write access.
Go to top
»