OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Default Sort & direction
#6575
khashiz (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Default Sort & direction 3 Years, 11 Months ago Karma: 0  
Hi,
it seems the default sorting of vehicles is set on "vehicle title",
i want to change in to the date that vehicle was added

how can i do this??
 
Logged Logged  
  The administrator has disabled public write access.
#6590
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 3 Years, 11 Months ago Karma: 61  
Hello,

for set default ordering by date in Vehicle manager, please open file:

and in it at all places find rows like:
Code:

$sort_arr['order_field'] = 'vtitle'; 


and replace to
Code:

$sort_arr['order_field'] = 'date'; 


Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#6713
khashiz (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 3 Years, 10 Months ago Karma: 0  
thanks, but which file should I open??
 
Logged Logged  
  The administrator has disabled public write access.
#6731
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 3 Years, 10 Months ago Karma: 61  
Hello,

I am sorry, please in file:
{yours site}/components/com_vehiclemanager/vehiclemanager.php

Please backup it first.

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?