Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
I have a slider which is supposed to include both images and videos. I want to use the <cms:repeatable />. How do i go about it to be able to either upload an image or video. Thank you
Two solutions -

1. Define both a type 'image' as well as a type 'textarea' (or whatever you'd like to enter the video info into) region.
Ask the client to fill in only one of them per row.
While displaying, do a check if the image region is empty - if yes, display video else the image.

2. Use type 'mosaic' region instead (viewtopic.php?f=5&t=11105).
Define a tile for image and another for video. The client can choose whichever she wants for each row.

Hope it helps.
Thank you very much KK for the quick response. I however want to know if I would have to re-download Couch version 2 to be able to use the Mosaic feature. Thank you
I however want to know if I would have to re-download Couch version 2 to be able to use the Mosaic feature.

Yes, you'll have to download it from GitHub (https://github.com/CouchCMS/CouchCMS).
4 posts Page 1 of 1
cron