A
A
Alex2020-01-22 08:26:36
1C-Bitrix
Alex, 2020-01-22 08:26:36

How to add custom parameter to news component?

Good afternoon, tell me how to add your parameter and write a condition to the news component
5e27dcae953eb940235220.png
in the form of a list so that you can change the css class in the news.list template
5e27dcfd72cb7205560331.png
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PetrPo, 2020-01-22
@astrodeep

Follow the link further under my answer in the comments, you can find the answer to your question, there is just a list with an example link
In the same comments there is how to pass a parameter from news to news.list

Y
Yaroslav Alexandrov, 2020-01-22
@alexyarik

https://ydmitry.ru/blog/4-sposoba-rasshirit-standa...
create a .parameters.php file in the component template and enter your parameters into it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question