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
TOPIC: (Resolved) Alone_category change order by default
#14860
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 1 Year, 9 Months 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.
#14863
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Alone_category change order by default 1 Year, 9 Months ago Karma: 55  
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.
#14864
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 1 Year, 9 Months 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.
#14868
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Alone_category change order by default 1 Year, 9 Months ago Karma: 55  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?