OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 2
TOPIC: Administration Required Fields
#2215
likeminds (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Administration Required Fields 5 Years, 2 Months ago Karma: 0  
When I am creating a new car where can I go make Price NOT a Required field. I have been looking and been able to make most all my changes but I can not find this in the code.

If you could tell me which file and what lines of code I would appreciate it.

I am not showing price on the cars so when I am editing car details or entering in a new one it requires me to put something in anyway.

Thanks you John
 
Logged Logged  
  The administrator has disabled public write access.
#2223
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Administration Required Fields 5 Years, 2 Months ago Karma: 61  
Hello,

In vehicle Manager for set Price as not important field. You need
open file:
{yours site}/administrator/components/com_vehiclemanager/admin.vehiclemanager.html.php

find finction:
editVehicle

And in it remove below code:
Code:

else if (form.price.value==''||form.priceunit.value=='') {
    
      alert("<?php echo _VEHICLE_MANAGER_ADMIN_INFOTEXT_JS_EDIT_PRISE;?>");
      return;
    }



Please back up files before

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?