I have created a table for the document information, and it's exactly like code I use for another CMSMS site. Weird thing is that only ONE document field won't render, the Document Name field, which is a link using download_url. Here is the Summary Template code I'm using:
Code: Select all
<!-- Start Upload Display Template -->
{if isset($input_filter) }
{$startform}
{$prompt_filter}{$input_filter}{$hidden_params}{$input_submit}
{$endform}
<br/>
{$matches} {$matchestext}
{/if}
<table id="uploads">
<tr valign="center">
<th>Type</th>
<th>Name</th>
<th>Date</th>
<th>Size (KB)</th>
<th>Description</th>
</tr>
{foreach from=$items item=entry}
<tr valign="top" class="{$entry->rowclass}">
<td width="30"><img src="{$entry->iconurl}" border="0" /></td>
<td width="80">
<a href="{$entry->download_url}">{$entry->name}</a>
</td>
<td width="30">{$entry->date}</td>
<td width="30">{$entry->size}</td>
<td width="85" class="desc">{$entry->description}</td>
</tr>
{/foreach}
</table>
<!-- End Upload Display Template -->
http://parkway.mytestbed.com/online-documents/
Wondering why it won't pick up the link. Incidentally, this code in working format, and on the SAME SERVER, can be found here:
http://idylwood.org/online-documents/
Thanks, everyone!
Joni