Answer the question
In order to leave comments, you need to log in
How to get the current page number into a variable when requested in Bitrix?
How to further display the page number, something like echo $page
?
CIBlockElement::GetList(array("ACTIVE_FROM" => "DESC"), $arFilter, false, Array("nPageSize" => 8));
Answer the question
In order to leave comments, you need to log in
$dbResult = CIBlockElement::GetList(array("ACTIVE_FROM" => "DESC"), $arFilter, false, Array("nPageSize" => 8));
echo $dbResult->NavPageNomer; // Номер текущей страницы
echo $dbResult->NavPageCount; // Количество страниц
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question