Answer the question
In order to leave comments, you need to log in
Where can I get links to catalog items in Bitrix?
There is a block on the main page with links to different pages of the site.
The content of the block is filled in the admin panel. The content of each element is simple: title, picture, link.
The title and image are picked up immediately, but the link is not picked up correctly and leads to "1" instead of the selected page.
What could be the problem?
The block template looks like this.
Not sure what other data is needed.
Answer the question
In order to leave comments, you need to log in
Most likely, the formation of addresses in the infoblock in the admin panel is incorrectly filled in (in the infoblock to which the property refers)
I doubt that such a path to the data is correct, it is very similar to the fact that at random they wrote something that they heard somewhere.
Display what is in your array
echo "<pre style='text-align:left;'>";print_r($arItem['DISPLAY_PROPERTIES']);echo "</pre>";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question