OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
problem with advanced search result (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: problem with advanced search result
msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
problem with advanced search result 8 Years, 5 Months ago
Karma: 0  
Dear ,

I have two kind of view ( view list & view default ) both are showing property with price , but when I am using advanced search option it doesn't show the price in the search result.

please let me know how and from where I can control to the view of result , I want the result to show like ( view list or view default )

Thanks,
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7803
graph
User Offline Click here to see the profile of this user
Re:problem with advanced search result 8 Years, 5 Months ago
Karma: 95  
Hello,

You need in file
/components/com_realestatemanager/realestatemanager.php

find function searchHouses

and in it in any place after $params defination add below code


if ($realestatemanager_configuration['price']['show']) {
$params->def('show_pricestatus', 1);
if (checkAccess_REM($realestatemanager_configuration['price']['registrationlevel'], 'NORECURSE', userGID_REM($my->id), $acl)) {
$params->def('show_pricerequest', 1);
}
}


Please backup that file first

Thanks,
ordaSoft team
Logged Logged
The administrator has disabled public write access.
msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Re:problem with advanced search result 8 Years, 5 Months ago
Karma: 0  
i have this code :
Code:


case 'show_search_house':
        if (version_compare(JVERSION, '3.0', 'ge')) {
            $menu = new JTableMenu($database);
            $menu->load($GLOBALS['Itemid']);
            $params = new JRegistry;
            $params->loadString($menu->params);
        } else {
            $menu = new mosMenu($database);
            $menu->load($GLOBALS['Itemid']);
            $params = new mosParameters($menu->params);
        }
        $layout = $params->get('showsearchhouselayout', '');
        PHP_realestatemanager::showSearchHouses($option, $catid, $option, $layout);
        break;



then I Add it it here :
Code:


case 'show_search_house':
        if (version_compare(JVERSION, '3.0', 'ge')) {
            $menu = new JTableMenu($database);
            $menu->load($GLOBALS['Itemid']);
            $params = new JRegistry;
            $params->loadString($menu->params);
        } else {
            $menu = new mosMenu($database);
            $menu->load($GLOBALS['Itemid']);
            $params = new mosParameters($menu->params);

if ($realestatemanager_configuration['price']['show']) {
$params->def('show_pricestatus', 1);
if (checkAccess_REM($realestatemanager_configuration['price']['registrationlevel'], 'NORECURSE', userGID_REM($my->id), $acl)) {
$params->def('show_pricerequest', 1);
}
}



        }
        $layout = $params->get('showsearchhouselayout', '');
        PHP_realestatemanager::showSearchHouses($option, $catid, $option, $layout);
        break;





but nothing changed

please see the attached image
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7803
graph
User Offline Click here to see the profile of this user
Re:problem with advanced search result 8 Years, 5 Months ago
Karma: 95  
Hello,

in that file, you need find function !!!!!

"searchHouses"

and in it, after some "$params" use add that code

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
msmgin (User)
Junior Boarder
Posts: 35
graphgraph
User Offline Click here to see the profile of this user
Re:problem with advanced search result 8 Years, 5 Months ago
Karma: 0  
that's work fine...
thank you

I add it at the end of function.
Logged Logged
The administrator has disabled public write access.
Go to top