Answer the question
In order to leave comments, you need to log in
Inserting an area on pages?
Something I'm completely confused in this Bitrix.
There is /catalog/
categories are displayed there, when I click I see subcategories + elements. Everything is default.
The task is to place an image on the page /catalog/ in front of the rubricator.
This is how I did it here, simply by editing the page in php and inserting img src
But now, even if I go to the detailed view of the product, I see this image.
How can I pin it only for the /catalog/ page and not duplicate it on other pages of the element.
ps I inserted it into the code of the page itself, and not the directory component.
Answer the question
In order to leave comments, you need to log in
you can try like this:
<?if($APPLICATION->GetCurPage(false) == '/catalog/'){ ?>
<img src="...">
<?}?>
ps I inserted it into the code of the page itself, and not the directory component.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question