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