G
G
GizzaProger2020-03-05 22:09:19
1C-Bitrix
GizzaProger, 2020-03-05 22:09:19

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
..........
..........

Tried through filters, thus
<?global $arrFilterDues;
$arrFilterDues= Array(
  "SECTION_ID" => "2"
);
<?$APPLICATION->IncludeComponent(
  "bitrix:news.list",
  "",
  Array(
               ......
              "FILTER_NAME" => "arrFilterDues",
               ......
        )

SECTION_ID was taken from the url in the admin panel, but it does not display anything.
What could be the reason and how to do what I want?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail, 2020-03-06
@RuComMarket

if you don’t understand and have to, then it’s better to hire someone who understands
the easiest way for a regular user to call the news component and specify the cnc parameters

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question