G
G
Greg Plitt2021-01-19 19:07:35
1C-Bitrix
Greg Plitt, 2021-01-19 19:07:35

How to limit the size of the output Title and Description in Bitrix?

I found a lot of ready-made solutions for all popular cms, but I don’t see anything at all for Bitrix.
Tell me, how can I limit to the required number of characters Title and meta description on each page?

On a site with a thousand pages, where the former owner wrote 150-300 characters in the Title, but I generally keep quiet about the description. Doing such work by hand is a very dreary task ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2021-01-19
@babarun

You take the value from $APPLICATION->GetPageProperty("title")and cut it as you like, the problem is not entirely clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question