OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
(Resolved) Alone_category change order by default (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

(Resolved) Alone_category change order by default

Magali (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
(Resolved) Alone_category change order by default 9 Years ago
Karma: 0  
Hello,

In page alone_category, default sorting is done on "htitle" how can I do so that default sorting is done on "price"?

I have modify in {site}/components/com_realestatemanager/realestatemanager.php :
Code:

$sort_arr = array();
$sort_arr['order_field'] = 'htitle';
$sort_arr['order_direction'] = 'asc';
$item_session->set('rem_housesort', $sort_arr);



Code:

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


but it does not work.

Thanks
Logged Logged
Last Edit: 2015/03/06 14:34 By Magali.
The administrator has disabled public write access.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:Alone_category change order by default 9 Years ago
Karma: 58  
Hello,

To sorting by "price" you need open realestatemanager.php in {site}/components/com_realestatemanager and to change:

$sort_arr['order_field'] = 'htitle'; to $sort_arr['order_field'] = 'price'; in all places in file.

And you will get price by default

Note:
Before make any chnges, make it on test website.

Thanks
Logged Logged
The administrator has disabled public write access.
Magali (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Re:Alone_category change order by default 9 Years ago
Karma: 0  
Oh yes, I had changed in one place and not everywhere.

It's perfect, thanks Taras.
Logged Logged
Last Edit: 2015/03/06 14:33 By Magali.
The administrator has disabled public write access.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:Alone_category change order by default 9 Years ago
Karma: 58  
Hello, Magali
You're welcome

Thank you for choosing our Real Estate website builder

ordasoft.com/Real-Estate-Manager-Software-Joomla.html

Also please check your email we have sent your answer for your new work.

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