3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 25, 2017   (RSS)

By dlsweb - July 25, 2017

I have a table named festivals consisting of festival listings in several states.
Within that table I have some as "featured".

My list page lists all..
On one side I have my Featured listings that shows a photo and title. (only features have a "top_photo")

<?php foreach ($festivalsRecords as $record): ?>
<?php if ($record['top_photo']) : ?>
<?php foreach ($record['top_photo'] as $index => $upload): ?>
<p><a href="<?php echo $record['_link'] ?>">
<img src="<?php echo htmlencode($upload['thumbUrlPath']) ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" />
<br />
<?php echo htmlencode($record['title']) ?>
<?php endforeach ?>
<?php endif; ?>
<?php endforeach ?>

What I want to achieve is when I go to listings for a speciific state,
I want to have ALL Features to show on the side- NOT only GA features.

I would also like to order these by RAND (but not the page)

Is that doable?
Thanks much, Larry

By dlsweb - July 25, 2017

you are terrific, thank you