Hello,
For set some default state for Vehicle manager Listing type you need in file:
{yours site}/administrator/components/com_vehiclemanager/admin.vehiclemanager.php
and
{yours site}/components/com_vehiclemanager/vehiclemanager.php
find function editVehicle
in it find row:
Code: |
$listing_type_list = mosHTML :: selectList($listing_type,'listing_type','class="inputbox" size="1"', 'value', 'text', $vehicle->listing_type);
|
and replace it to some like:
Code: |
if($vehicle->listing_type == "") $listing_type_list = mosHTML :: selectList($listing_type,'listing_type','class="inputbox" size="1"', 'value', 'text', '2');
else $listing_type_list = mosHTML :: selectList($listing_type,'listing_type','class="inputbox" size="1"', 'value', 'text', $vehicle->listing_type);
|
For remove search option for Rent request you need edit file file:
{yours site}//components/com_vehiclemanager/views/show_search_vehicle/tmpl/default.php
and remove all what you found with word "rent"
Please first do these files backup
Thanks,
OrdaSoft team