I use the catalog component, which needs to set the number of elements displayed in one row of the table to 1, just when I put 1 in the information block settings, then for some reason all the elements are displayed, how to fix it?

  • And what does the number of elements in a row have to do with the number of elements displayed? - Nikolaj Sarry
  • In what sense? In the component settings, if you set the number of elements that are displayed in one line, say five elements, then five images will be displayed exactly. And the problem, I repeat, is that if you put 1, then for some reason everything is displayed - ChromeChrome
  • params call component attach, please? - Andrewus
  • Thanks for the help, but I already decided by editing the file template - ChromeChrome

1 answer 1

The component with the default template displays the elements of the table: how many rows and how many elements in each row. If the code of the component template is violated, then this principle of table output may deteriorate, and you will have to edit the component output template.