Forums

ChronoConnectivity - opening files from report

lastpoint 09 Nov, 2009
Hi,

I've got table with text fields and file.
When I want to show data from that table I use ChronoConnectivity with body like this:
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="0">
  <tbody>
    <tr<?php if ($i % 2) echo ' style="background-color: #EBEBEB;"';?>>    
      <td style="width: 40%;">{text_1}</td>     
      <td style="width: 60%;">{file_7}</td>      
    </tr>
  </tbody>
</table>
<?php $i++ ?>

Unfortunately in column - file name (text) appears instead of file for opening.
How to do that?
I would like to have table with files and open that files directly from that table.
lastpoint 09 Nov, 2009
I found a solution. Please close that post.
Solution maybe useful for someone:
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="0">
<tbody>
<tr<?php if ($i % 2) echo ' style="background-color: #EBEBEB;"';?>>
<td style="width: 40%;">{text_1}</td>
 <td style="width: 60%;"><a href = "components/com_chronocontact/uploads/form_name/{file_7}">file</a></td>
</tr>
</tbody>
</table>
<?php $i++ ?>
This topic is locked and no more replies can be posted.