S
S
serik2021-01-29 10:58:14
1C-Bitrix
serik, 2021-01-29 10:58:14

How to reduce the display of too many elements in the information block "Trading offers"?

When the site was just being developed, one of the managers chose a large number of display elements in the infoblock
6013bfff199fb180626561.png
and now the page does not open at all, it always crashes with an error, how can I return this value to the default state without visiting the page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2021-01-29
@black_xe

In php command line type first

echo '<pre>';
print_r($_SESSION);
echo '</pre>';

6013d6dba5733821566157.jpeg
Copy the key that on tbl_iblock_section starts = to the $gridId variable further in the code and again in the console
$gridId = 'tbl_iblock_section_0a75985155564046e50b0575794cf3ee';
$grid = new \Bitrix\Main\Grid\Options($gridId);
$grid->deleteView('default');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question