OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: help from order by
#33038
defork (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
help from order by 4 Months, 3 Weeks ago Karma: 0  
hello,
i need help with real estate manager. On the houses page all houses are ordered automatically by title and i would like it by date but i don't know how. I've got the free version of real estate manager. If somebody know how i can do ? thanks a lot.
 
Logged Logged  
  The administrator has disabled public write access.
#33052
admin (Admin)
Admin
Posts: 5356
graph
User Offline Click here to see the profile of this user
Re:help from order by 4 Months, 3 Weeks ago Karma: 66  
Hello

You may do that

if in file
{your site}/components/com_realestatemanager/realestatemanager.php

in all places, the code
Code:

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



replace to code

Code:

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



Please backup file first

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?