OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Default Sort & direction
#6575
khashiz (Visitor)
Posts: 0
graphgraph
User Offline
Default Sort & direction 5 Years, 5 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: 5723
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 5 Years, 5 Months ago Karma: 68  
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 (Visitor)
Platinum Boarder
Posts: 0
graphgraph
User Offline
Re:Default Sort & direction 5 Years, 5 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: 5723
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 5 Years, 5 Months ago Karma: 68  
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.
#37891
makeitactive (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 1 Month, 2 Weeks ago Karma: 0  
This didn't change anything. Is there another document as well? We need to sort by most recent so old vehicles are pushed to the last page. This is a pretty standard request that any business would need (to show latest vehicles first).
 
Logged Logged  
 
Last Edit: 2018/05/04 19:00 By makeitactive. Reason: More info
  The administrator has disabled public write access.
#37928
admin (Admin)
Admin
Posts: 5723
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 1 Month, 2 Weeks ago Karma: 68  
Dear

In Vehicle manager sorting now added to parameters
Please go to
Vehiclemanager:ettings->Frontend Settings
and check options:
- Categories order by default
-Select order by default:

Regards
Andrew
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?