Answer the question
In order to leave comments, you need to log in
Why doesn't Bitrix display the child element in the loop?
There is this pattern:
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$this->setFrameMode(true);
?>
<div class="more-news">
<?foreach($arResult["ITEMS"] as $arItem):?>
<div class="news-item"></div>
<?endforeach;?>
</div>
Answer the question
In order to leave comments, you need to log in
It is obvious that somewhere above you do not close the div correctly
. Specifically, in this piece of code, everything is ok.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question