Read More link

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 10, 2009   (RSS)

Re: [Ginslinger] Read More link

By Damon - April 10, 2009

Hi Tim,

Here is the code you are after, just change the names to match yours:

<?php if($record['extended_content'] != "") : ?>
<a href="<?php echo $record['_link'] ?>">Read More</a><br />
<?php endif; ?>

Add this to your index page and the "Read More" link won't appear if nothing was entered in the Extended Content field.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] Read More link

Thanks Damon.

As always help is much appreciated.