M
M
Maxim2020-07-22 09:03:37
1C-Bitrix
Maxim, 2020-07-22 09:03:37

How to remove the restriction in the title of Bitrix news?

Based on the Bitrix.news component, a Collection of Regulatory Documents was made. The title of the document, for example

On the approval of the administrative regulations of the Ministry of the Russian Federation for Civil Defense, Emergencies and the Elimination of the Consequences of Natural Disasters for the provision of a public service for registering a fire safety declaration and a form of fire safety declaration
truncated at:
FIRE WITHOUT
. Of course, the title is required. How to remove restrictions or what else can you think of?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Vorobyov, 2020-07-22
@max-p85

There are two options:
1. Correct in my opinion. You create a new property of type text, which will fit the title of any length. And on the SEO tab, set the display of the element title to this field. Also, if the components used give such a choice, configure it there as well. Plus, if the components and / or templates are self-written, check that this property is used. Perhaps we should make a BeforeIndex event handler so that the value is indexed for search
2. Fast, but not correct. Change the dimension of a field in the database. But here the database check will give a message, and if someone clicks "automatically fix" - be in trouble. :) Well, in general, all the charms that can arise if you change the operation of the system, in fact, in the "core"

A
Alexander, 2020-07-22
@idruweb

Make a separate property with larger text

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question