F
F
fenix19902017-03-17 15:47:34
1C-Bitrix
fenix1990, 2017-03-17 15:47:34

How to set up an infoblock in Bitrix?

if the information block has a large nesting of about 5 attachments (5 detailed news) .... then when deleting any of the 3 or 4 nestings in the url, the nesting still shows this news, although it should be thrown into the section, since in theory this is not the correct link address.
my infoblock settings
Information block page URL: /test/
Section page URL: /test/#SECTION_CODE_PATH#/
Detailed view page URL: /test/#SECTION_CODE_PATH#/#ELEMENT_CODE#.html
how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Zakharov, 2017-03-17
@konratnox

use instead of SECTION_CODE_PATH SECTION_CODE, but then the urls will be shortened, they will not be the full path to the section / element ( /test/razdel1/razdel2/razdel3/#ELEMENT_CODE#.html ), but simply /test/posledniy_razdel/#ELEMENT_CODE#.html

F
fenix1990, 2017-03-17
@fenix1990

one problem with this option, if after the changes you described in the created url (/test/posledniy_razdel/#ELEMENT_CODE#.html) substitute /test/razdel3//posledniy_razdel/#ELEMENT_CODE#.html
it will also show a detailed article

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question