Y
Y
Yuri Voronin2017-03-31 14:17:40
PHP
Yuri Voronin, 2017-03-31 14:17:40

How to set up the CNC correctly?

Good afternoon.
There is an infoblock (IB).
e029c278a78d46d79f1f5a66c789721b.png
The root has elements and sections. Sections can have more sections. In sections elements.
I programmed in such a way that I have both sections and elements displayed if they are at the same nesting level.
The problem is in the CNC.
I now have the following settings:
9e3d297825e9411f8d5351ea2675ce8c.png9b0a667d0a054009bcb0f8e1a21e45c5.pngThe result is this:
If there is an IB element on /galereya-rabot/ (that is, it lies in the IB root), then this element does not go to the detail. If the IB element is in some section, then the transition to the detail works.
Tell me how to set up the CNC?
Or maybe then remove the elements from the IB root altogether and shove them into some section so that everything works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Shaklein, 2017-03-31
@sanshung

you need to add a prefix
for example for the section #SECTION_CODE_PTH#/
for the element pref-#ELEMENT_ID#/
368d7282afb8497e8806ab90591b269f.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question