Добрый день!
На странице вывожу контент следующим образом:
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("description", "");
$APPLICATION->SetPageProperty("title", "");
$APPLICATION->SetTitle("");
?>
<h1 class="s5_fourdivs_title"><?$APPLICATION->ShowTitle(false)?></h1>
<?
if (!isset($_GET['PAGEN_1'])) {
$APPLICATION->IncludeComponent(
"bitrix:main.include",
"",
Array(
"AREA_FILE_SHOW" => "file",
"AREA_FILE_SUFFIX" => "inc",
"EDIT_TEMPLATE" => "",
"PATH" => "/include/include_area/" . basename($_SERVER['SCRIPT_NAME'])
)
);
}
?>
<?$arrFilter["PROPERTY_ROOF_TWO_VALUE"] = "Сложная";?>
<?//$arrFilter["PROPERTY_MATERIAL"] = 139;?>
<?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"projects",
Array(
"ACTIVE_DATE_FORMAT" => "",
"ADD_SECTIONS_CHAIN" => "N",
"AJAX_MODE" => "N",
"AJAX_OPTION_ADDITIONAL" => "",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "N",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"CHECK_DATES" => "Y",
"DETAIL_URL" => "/proekty/item/#ELEMENT_CODE#.html",
"DISPLAY_BOTTOM_PAGER" => "Y",
"DISPLAY_DATE" => "N",
"DISPLAY_NAME" => "Y",
"DISPLAY_PICTURE" => "Y",
"DISPLAY_PREVIEW_TEXT" => "N",
"DISPLAY_TOP_PAGER" => "N",
"FIELD_CODE" => array(0=>"",1=>"",),
"FILTER_NAME" => "arrFilter",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"IBLOCK_ID" => "6",
"IBLOCK_TYPE" => "products",
"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
"INCLUDE_SUBSECTIONS" => "Y",
"NEWS_COUNT" => "20",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => "N",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => "",
"PAGER_TITLE" => "Страницы",
"PARENT_SECTION" => "",
"PARENT_SECTION_CODE" => "",
"PREVIEW_TRUNCATE_LEN" => "",
"PROPERTY_CODE" => array(0=>"TITLE",1=>"PROJECT_AVATAR",2=>"LIVING_AREA",3=>"TOTAL_AREA",4=>"",),
"SET_STATUS_404" => "N",
"SET_TITLE" => "N",
"SORT_BY1" => "SORT",
"SORT_BY2" => "ID",
"SORT_ORDER1" => "ASC",
"SORT_ORDER2" => "DESC"
)
);?>
<?
if (!isset($_GET['PAGEN_1'])) {
$APPLICATION->IncludeComponent(
"bitrix:main.include",
"",
Array(
"AREA_FILE_SHOW" => "file",
"AREA_FILE_SUFFIX" => "inc",
"EDIT_TEMPLATE" => "",
"PATH" => "/include/include_area/after_" . basename($_SERVER['SCRIPT_NAME'])
)
);
}
?>
По умолчанию стоит показывать 20 предложений на странице. При выборе любого другого значения товара на странице - фильтрация перестает работать и вывод на страницу попадает весь товар. Как быть ? Подскажите что делать.
Спасибо за ответы!