Re: [MercerDesign] Link to detail page
Hi,
If there is no content in the "Content" field on the detail page then we don't want a link.
Replace your current detail page link code with this code to only ouput the link to the detail page if there is content in the content field.
<?php if($record['content'] != "") : ?>
<p><b><a href="<?php echo $record['_link'] ?>">Find out more >></a></b></p>
<?php endif; ?>
If the content field is left empty, no detail link will appear.
If the content field has content, a detail link will appear.
Hope that helps.
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/