23
Views
3
Comments
I have to put a foreach loop on a block. That means I want that block multiple times

I have to put a foreach loop on a block. That means I want that block multiple times on the screen. For example, it is written in the block that we have to show it 4 times on the screen, but we do not have to put a foreach loop on us hello, but we have to put a foreach loop on that block, so that every time there is some update in that block, it is on the screen. seen multiple times


2024-10-16 11-59-48
Nick Vandebriel

Hello Sourabh,

It's not really clear for me what you want to achieve but you could use a list and put your block inside there to get the same block multiple times on your screen. 

If you can give more details or share a picture/oml then it might be easier to help you

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

You can do this by first placing a list widget on your screen and then the block in the list. You can also consider to use one of the listitem widgets available in the list and then place your block in the listitem widget.

Regards,

Daniel

UserImage.jpg
sourabh gour

Thanks man.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.