Answer the question
In order to leave comments, you need to log in
How to limit the number of characters of the "HTML/text" property of the Bitrix infoblock?
I display the property of the Bitrix infoblock in the following way:
<?=$arItem["PROPERTIES"]["REW_TEXT"]["~VALUE"]["TEXT"]?>
Answer the question
In order to leave comments, you need to log in
<?=TruncateText($arItem["PROPERTIES"]["REW_TEXT"]["~VALUE"]["TEXT"], 300);?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question