Лучший Ответ Kess , 09 February 2014 - 22:27
Hello,
Sorry for a delayed answer. There is one solution that you can try.
First, remove those hidden fields from the search module template. Also, look what is the id of your application and of the menu item which is defined in the search module settings (as I can see, for your main search modules it's 1 and 138 accordingly, the filter on the frontpage is different). Then edit the main index.php of your website by adding the following in it:
if (isset($_REQUEST['Itemid']) && $_REQUEST['Itemid'] == <INSERT_MENU_ID>) {
$_POST['option'] = $_GET['option'] = $_REQUEST['option'] = 'com_zoo';
$_POST['app_id'] = $_GET['app_id'] = $_REQUEST['app_id'] = <INSERT_APP_ID>;
}
So in your case it can be
if (isset($_REQUEST['Itemid']) && $_REQUEST['Itemid'] == 138) {
$_POST['option'] = $_GET['option'] = $_REQUEST['option'] = 'com_zoo';
$_POST['app_id'] = $_GET['app_id'] = $_REQUEST['app_id'] = 1;
}
Перейти к сообщению


Тема закрыта







