Answer the question
In order to leave comments, you need to log in
How to display news by sections?
Hello, I don’t understand Bitrix almost, but I had to dig into it.
How to display news by sections? There are news/cat1, news/cat2, news/cat3 pages. Provided that in these categories news are arranged as follows
cat1
----n11
----n12
cat2
----n21
----n23
..........
..........
<?global $arrFilterDues;
$arrFilterDues= Array(
"SECTION_ID" => "2"
);
<?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"",
Array(
......
"FILTER_NAME" => "arrFilterDues",
......
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question