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

VehicleManager component support

Go to bottom Favoured: 0

Default Sort & direction

khashiz (Visitor)
Posts: 0
graphgraph
User Offline
Default Sort & direction 11 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 11 Years, 11 Months ago
Karma: 102  
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.
khashiz (Visitor)
Posts: 0
graphgraph
User Offline
Re:Default Sort & direction 11 Years, 11 Months ago
Karma: 0  
thanks, but which file should I open??
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 11 Years, 11 Months ago
Karma: 102  
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.
makeitactive (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 6 Years, 7 Months 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Default Sort & direction 6 Years, 7 Months ago
Karma: 102  
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
»