OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Remove Year of Issue and Mileage (0 viewing) 
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Remove Year of Issue and Mileage
#19247
iqbala (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Remove Year of Issue and Mileage 8 Months ago Karma: 0  
Dear Sirs,

I need to remove the showing of the Year of Issue and Mileage on the pages as they website is for Vehicle Rentals of specialist cars.

Where do I change this to stop it showing

Thanks

Abid
 
Logged Logged  
  The administrator has disabled public write access.
#19257
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Months ago Karma: 55  
Dear Abid,

Hello,

To remove the mandatory field you need go to your website/components/com_vehiclemanager and open file vehiclemanager.html.php then find "static function editVehicle"

and delete for "Mileage " this code

Code:

}else if (form.mileage.value == '') {
                            window.scrollTo(0,findPosY(document.getElementById('mileage'))-100);
                            document.getElementById('mileage').style.borderColor = "#FF0000";
                            document.getElementById('mileage').style.color = "#FF0000";
                            return;



This changes for adding house from FRONTEND.


FOR backend (adding house from backend) you need edit the same file and delete the same code, but in your website/administrator/components/com_vehiclemanager

THE same for Year of Issue field

Before make any change make a copy of file.
Thanks,
Taras
 
Logged Logged  
  The administrator has disabled public write access.
#19282
iqbala (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Months ago Karma: 0  
Hi Taras,

I have found the mileage code but cannot find the code for the year can you tell me what code it is and then I can do a find and look up.

Thanks

Abid
 
Logged Logged  
  The administrator has disabled public write access.
#19283
iqbala (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Months ago Karma: 0  
Hi Taras,

I just tried this and it does not work, I also cleared all the cache down and used a fresh browser just in case. Please refer to the image attached.

Thanks

Abid
 
Logged Logged  
  The administrator has disabled public write access.
#19284
iqbala (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Months ago Karma: 0  
The image
 
Logged Logged  
  The administrator has disabled public write access.
#19288
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Year of Issue and Mileage 8 Months ago Karma: 55  
Hello Abid ,

Could you specify in what view you want delete year and then we can provide details?

In all vehicles you want delete year and millage?

thanks
Taras
 
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?