OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 0

Price fields in search module

Pascal_tgn (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Price fields in search module 11 Years, 8 Months ago
Karma: 0  
Hello!

I want to change price fields in search module from dropdown to textbox.
Tell me, please - how I can do it?
Logged Logged
Last Edit: 2012/07/11 17:31 By Pascal_tgn.
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Price fields in search module 11 Years, 8 Months ago
Karma: 101  
Hello,

For change price fields in Vehicle manager search module

You need go to file

{yours site}/modules/mod_vehiclemanagersearch/mod_vehiclemanagersearch.php

find row:
Code:

$pricelist = mosHTML :: selectList($price, 'pricefrom', 'class="inputbox" size="1"', 'value', 'text', 0);
  $pricelistto = mosHTML :: selectList($price_to, 'priceto', 'class="inputbox" size="1"', 'value', 'text', 0);


and replace it to

Code:

$pricelist = '<input class="inputbox" type="text" name="pricefrom" size="20" maxlength="20"/>' ;
 $pricelistto = '<input class="inputbox" type="text" name="priceto" size="20" maxlength="20"/>' ;


But first please do that file backup


Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»