Giorgi625 VIP
Total posts: 655
13 Aug 2018 14:35

I have type with gallery field where each record has about 3-4 images. In list view I want to display gallery with one big image and thumbnails, while in module I want to display only one image.

I don't want to use extra image field for module so is it possible to somehow get this result?

Can I override list view template so that in list view it will show gallery field from full view?

Last Modified: 14 Aug 2018


Sergey
Total posts: 13,748
14 Aug 2018 07:08

Inside the template you can use


<?php if(JFactory::getApplication()->input->get('api') == 1): ?> This is shown in module <?php else: ?> This is shown in section view <?php endif; ?>
Powered by Cobalt