P
P
Petr Ponomarev2016-12-27 23:31:46
1C-Bitrix
Petr Ponomarev, 2016-12-27 23:31:46

How to configure nc in component Directory with nested sections?

Good evening, tell me how to set up the CNC, there is an Infoblock catalog, it contains sections for electrician, plumbing .... in plumbing there are sections for water supply, sewerage. If the CNC is turned off, then everything works fine, such a link is transmitted: ?SECTION_ID=1 , that is, everything is fine, and when I turn on the CNC it does not work, the CNC settings are as follows:
in the Infoblock:
#SITE_DIR#/kategory/
#SITE_DIR#/kategory/#SECTION_CODE_PATH #/
#SITE_DIR#/category/#SECTION_CODE_PATH#/#ELEMENT_CODE#/
at:
prntscr.com/dolqqt

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2016-12-28
@rpsv

All variables are shared /, so a link like:
will not work.
Instead, you can separate sections with another symbol, for example -:
And inside the handler, already break it with a "split":
PS is correct after all category;-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question