We have 874 guests and 1 member online
OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How add new vehicle type to vehicle manager (1 viewing) (1) Guest
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: How add new vehicle type to vehicle manager
#1700
admin (Admin)
Admin
Posts: 1679
graph
User Offline Click here to see the profile of this user
How add new vehicle type to vehicle manager 1 Year, 3 Months ago Karma: 17  
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 02:54 By admin.
  The administrator has disabled public write access.
Go to top