F
F
freekir2018-05-24 17:09:28
1C-Bitrix
freekir, 2018-05-24 17:09:28

How to remove restrictions on the number of characters in Bitrix?

Essence of the question.
To make it clear, I will describe the problem in detail:
- Bitrix has properties for infoblocks to create additional fields.
- Among them there is a field of type "HTML/Text". as it turned out he had a character limit of 63200 The
question is how to remove this limitation without touching the core and base.
I know that it can be clumsily solved by changing the banal number to the required one in the file where this field is configured. If someone doesn't care, I can write where it can be corrected:

/bitrix/modules/iblock/classes/general/prop_html.php

Lines where:
if ($DB->type === "MYSQL")
    $limit = 63200;

If anyone has experienced this please tell me how you solved the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2018-05-24
@freekir

Create your own property by inheriting CIBlockPropertyHTML and overriding the appropriate method. I don't see any alternatives so that everything works and there are no problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question