OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
add new catagories in vehiclemanager (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

Add new catagories in vehiclemanager

lazy00 (Visitor)
Posts: 0
graphgraph
User Offline
add new catagories in vehiclemanager 14 Years, 5 Months ago
Karma: 0  
Hallo, i would like to add and change some categories in my vehiclemanager, therer are some inside like

DEFINE('_VEHICLE_MANAGER_OPTION_SEDAN','Limousine';
DEFINE('_VEHICLE_MANAGER_OPTION_CONVERTIBLE','Cabrio';
DEFINE('_VEHICLE_MANAGER_OPTION_COUPE','Sportwagen/Coupé';
DEFINE('_VEHICLE_MANAGER_OPTION_CROSSOVER','Überführungsfahrzeug';
DEFINE('_VEHICLE_MANAGER_OPTION_HATCHBACK','Fließhecklimousine';
DEFINE('_VEHICLE_MANAGER_OPTION_PICKUP','Pickup';
DEFINE('_VEHICLE_MANAGER_OPTION_SUV','Geländewagen';
DEFINE('_VEHICLE_MANAGER_OPTION_TRUCK','Lastkraftwagen';
DEFINE('_VEHICLE_MANAGER_OPTION_WAGON','Planwagen';
DEFINE('_VEHICLE_MANAGER_OPTION_BIKE','Motorrad'addesd myself

in the language.php (german) i added the Bike category but it doesn't appear in the frontend, so how i can do this an where??
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:add new catagories in vehiclemanager 14 Years, 5 Months ago
Karma: 102  
Hello

In Vehicle manager you will need change file "admin.vehiclemanager.php" function "editVehicle"

please check records start from "Select list for vehicle type"

If you have Pro version you also must be do that for file "vehiclemanager.php"

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
lazy00 (Visitor)
Posts: 0
graphgraph
User Offline
Re:add new catagories in vehiclemanager 14 Years, 5 Months ago
Karma: 0  
hallo, im sorry bur i dont know how to change "admin.vehiclemanager.php" function "editVehicle"
i found the php file and the editVehicle String but what have i to to next???

is that the right string to change??

case "categories":
echo "now work $section=='categories , this part not work"; exit;
mosRedirect( "index2.php?option=categories&section=com_vehiclemanager" );
break;

case "new" :
editVehicle($option, 0);
break;

case "edit" :
editVehicle($option, array_pop($vid));
break;

case "save" :
saveVehicle($option);
break;
and so on.....

i can add categories in the backend but not if i add new car, there i can only select one of which are inside.

hope you can help, sorry for my english, i am from austria

the HP i have vehiclemanager installed is
www.automax-matzendorf.at/
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:add new catagories in vehiclemanager 14 Years, 5 Months ago
Karma: 102  
Hello

In Vehicle manager, please go to file "admin.vehiclemanager.php" function "editVehicle"

and after record:

Code:


$vehicletype[] = mosHtml::makeOption( _VEHICLE_MANAGER_OPTION_WAGON, _VEHICLE_MANAGER_OPTION_WAGON);


please add record:
Code:


$vehicletype[] = mosHtml::makeOption( _VEHICLE_MANAGER_OPTION_BIKE, _VEHICLE_MANAGER_OPTION_BIKE);


And You will see that type - in vehicle type select.


i can add categories in the backend but not if i add new car, there i can only select one of which are inside.
For see some category from frontend, every so category must be "Publish" - please check that

Thanks,
OrdaSoft team
Logged Logged
Last Edit: 2010/06/28 09:24 By admin.
The administrator has disabled public write access.
Go to top
»