OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Edit Advanced Search
#932
ajarduini (Visitor)
Fresh Boarder
Posts: 11
graphgraph
User Offline
Edit Advanced Search 6 Years, 2 Months ago Karma: 0  
Greetings,

I recently purchased the vehicle manager pro. I was wondering how I can remove the "Available for rent from" and "Available for rent until" from the search options.

I love this component but the website is only selling cars, not renting them. It would be awesome if I could remove this from the search.

Thank you,

Tony
 
Logged Logged  
  The administrator has disabled public write access.
#933
ajarduini (Visitor)
Fresh Boarder
Posts: 11
graphgraph
User Offline
Re:Edit Advanced Search 6 Years, 2 Months ago Karma: 0  
Answered my own question.

Thank you.
 
Logged Logged  
  The administrator has disabled public write access.
#949
admin (Admin)
Admin
Posts: 4856
graph
User Online Now Click here to see the profile of this user
Re:Edit Advanced Search 6 Years, 2 Months ago Karma: 61  
Hello,

Sorry we can't add all what customers wish. For that we use open Sourse for all ours products

You can remove that go to file vehiclemanager.html.php function showSearchVehicles

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#1323
tracy14 (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Edit Advanced Search 5 Years, 10 Months ago Karma: 0  
could you explain in a little more detail how to get rid of the rental request. I am no expert in coding but I would like to have it not show up.

Thanx

Tracy
 
Logged Logged  
  The administrator has disabled public write access.
#1332
admin (Admin)
Admin
Posts: 4856
graph
User Online Now Click here to see the profile of this user
Re:Edit Advanced Search 5 Years, 10 Months ago Karma: 61  
Hi


Please open file vehiclemanager.html.php (please at start backup this file)
at folder:
{yours site}/components/com_vehiclemanager/

function: showSearchVehicles

please find code
Code:

<tr>
    <td align="center">
      <?php echo  _VEHICLE_MANAGER_LABEL_AVAILABLE_FOR_RENT_FROM; ?>
        <input  class="inputbox" size="8"  name="search_date_from"  
          id="search_date_from"  
          onclick="calendar=null;return showCalendar( 'search_date_from','y-mm-dd');" 
          readonly="readonly" value="" />
    </td>
    <td align="center"><?php echo _VEHICLE_MANAGER_LABEL_AVAILABLE_FOR_RENT_UNTIL; ?>
      <input    class="inputbox"  name="search_date_until" size="8"  readonly="readonly"  
        id="search_date_until" 
        onclick="calendar=null;return showCalendar('search_date_until', 'y-mm-dd');" />
    </td>
    </tr> 


and remove it or change to code below

Code:

<tr>
    <!--td align="center">
      <?php echo  _VEHICLE_MANAGER_LABEL_AVAILABLE_FOR_RENT_FROM; ?>
        <input  class="inputbox" size="8"  name="search_date_from"  
          id="search_date_from"  
          onclick="calendar=null;return showCalendar( 'search_date_from','y-mm-dd');" 
          readonly="readonly" value="" />
    </td>
    <td align="center"><?php echo _VEHICLE_MANAGER_LABEL_AVAILABLE_FOR_RENT_UNTIL; ?>
      <input    class="inputbox"  name="search_date_until" size="8"  readonly="readonly"  
        id="search_date_until" 
        onclick="calendar=null;return showCalendar('search_date_until', 'y-mm-dd');" />
    </td>
    </tr--> 



And you remove these parameters from search.

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?