17
Hello guys,
I wonder if someone could help me to modify wfdownloads templates. what i want to do is to show all the files under every category like in a gallery.
I mean, right now the module has a table with one column, and there is a loop that feeds this table, so everytime you add a new file, the file is shown at the top of the catergory over the rest of files.
<table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td width="100%">
<!-- Start link loop -->
<{section name=i loop=$file}>
<{include file="db:wfdownloads_download.html" down=$file[i]}>
<{/section}>
<!-- End link loop -->
</td>
</tr>
</table>
What i want to create is a table with 3 columns and feed it to have the latest files at the top and from the right to the left, so the last file would be at the left-top corner.
Could someone help me with this issue??
Thanks in advance,
David