Display Next Record

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 16, 2018   (RSS)

By Toledoh - May 16, 2018

Whenever I do this kind of thing, I just use the list view and order by;  ie;

// load records from 'articles'
list($articlesRecords2, $articlesMetaData) = getRecords(array(
'tableName' => 'articles',
'loadUploads' => true,
'orderBy'=> date,
'allowSearch' => false,
));

<div class="caroufredsel_wrapper caroufredsel_wrapper_slider">
<ul class="slider">

<?php foreach ($articlesRecords as $record): ?>
<li class="slide">
... slide content ...
</li>
<?php endforeach ?>

By the way.  My favourite carousel these days is http://idangero.us/swiper/

Cheers,

Tim (toledoh.com.au)