news content or pdf

13 posts by 2 authors in: Forums > CMS Builder
Last Post: October 13, 2009   (RSS)

By Chris - October 11, 2009

Hi Chris,

You'll need to replace "... display record ..." with the PHP code you use to display your records.

For example,

<?php foreach ($in_the_newsRecords as $record): ?>
<?php if (!$record['content']) { continue; } ?>

<h2><?php echo $record['title']; ?></h2>
<?php echo $record['content']; ?>


<?php break; ?>
<?php endforeach ?>


I hope this helps. Please let me know if you have any questions.
All the best,
Chris

By Chris - October 13, 2009

Glad to be of help! :)
All the best,
Chris