OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Hello every one please help me i want to add vehic (0 viewing) 
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Hello every one please help me i want to add vehic
#2102
vertexpakistan (Visitor)
Fresh Boarder
Posts: 10
graphgraph
User Offline
Vertex Web Solutions
Hello every one please help me i want to add vehic 5 Years, 5 Months ago Karma: 0  
Hello every one please help me i want to add vehicle type please please help
 
Logged Logged  
 
  The administrator has disabled public write access.
#2104
vertexpakistan (Visitor)
Fresh Boarder
Posts: 10
graphgraph
User Offline
Vertex Web Solutions
Re:Hello every one please help me i want to add vehic 5 Years, 5 Months ago Karma: 0  
please help us
 
Logged Logged  
 
  The administrator has disabled public write access.
#2108
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Hello every one please help me i want to add vehic 5 Years, 5 Months ago Karma: 61  
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
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?