Hi Parasmoni,
If you want to display a nice list of objects with images, related to a list item, just like the objects list that apprears in the content of a collection, try this:
{{{<ifcount code="ca_objects" min="1">
<div class="row">
<div id="browseResultsContainer">
<?php print caBusyIndicatorIcon($this->request).' '.addslashes(_t('Loading...')); ?>
</div><!-- end browseResultsContainer -->
</div><!-- end row -->
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#browseResultsContainer").load("<?php print caNavUrl($this->request, '', 'Search', 'objects', array('search' => 'ca_list_items:^ca_list_items.item_id'), array('dontURLEncodeParameters' => true)); ?>", function() {
jQuery('#browseResultsContainer').jscroll({
autoTrigger: true,
loadingHtml: '<?php print caBusyIndicatorIcon($this->request).' '.addslashes(_t('Loading...')); ?>',
padding: 20,
nextSelector: 'a.jscroll-next'
});
});
});
</script>
</ifcount>}}}
You should insert this code after the
<div class="container">
<div class="row">
<div class='col-md-12 col-lg-12'>
(Here is the result in my case: https://collections.univ-pau.fr/pub/index.php/Detail/terms/466)