Answer the question
In order to leave comments, you need to log in
1s-bitrix - how to display such an infoblock?
Good day!
I'm stretching the layout on Bitrix
There is such a block -
How to make just such an implementation, if the top and bottom were the same location - then it's understandable.
And so, when the first two have text on the left, the picture on the right, the next second on the right has text, pictures on the left.
Answer the question
In order to leave comments, you need to log in
$idx = 1;
while(//тут условие){
if( $idx % 2 == 1) { /* выводим нечетные статьи*/
// тут верстка
}else{ /* выводим четные */
// тут верстка
}
$idx++;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question