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

Hello every one please help me i want to add vehic

vertexpakistan (Visitor)
Posts: 0
graphgraph
User Offline
Hello every one please help me i want to add vehic 13 Years, 6 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.
vertexpakistan (Visitor)
Posts: 0
graphgraph
User Offline
Re:Hello every one please help me i want to add vehic 13 Years, 6 Months ago
Karma: 0  
please help us
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Hello every one please help me i want to add vehic 13 Years, 6 Months ago
Karma: 102  
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
»