Combining Records & adding PDF File Link

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

Re: [csdesign] Combining Records & adding PDF File Link

By Jason - July 21, 2012

Hi Tina,

Try this. I've highlighted the new code in blue, directly below the current code that outputs the description field:

<tr>
<td>&nbsp;</td>
<td class="textmain"><span class="title"><?php echo $listing['description'] ?></span> </td>
<td class="textmain">&nbsp;</td>
</tr>

<tr>
<td>&nbsp;</td>
<td class="textmain">
<span class="title">
<?php foreach ($listing['pdf_file'] as $pdf): ?>
<a href = "<?php echo $pdf['urlPath'];?>" target="blank">CLICK HERE TO VIEW/PRINT PROPERTY SHEET</a><br/>
<?php endforeach ?>
</span>
</td>

<td class="textmain">&nbsp;</td>
</tr>


That should output the link that you are looking for.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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

Re: [Jason] Combining Records & adding PDF File Link

By csdesign - July 22, 2012

Jason, you are FABULOUS!!! I see the changes you made now... I was going all around it, just hadn't nailed it down.

Thanks again!!! :) Tina