21
Hi,
I've recently started to explore and change XOOPS and I'm looking to change the look and feel of my website.
My problem is with the downloads section. When I am viewing the items to download from the section the items are listed in a table that is one column wide.
I would like to have 3 downloads per row in this table instead of the 1.
I have managed to identify that the "mydownloads_viewcat.html" template needs to be changed but I am still 'getting to grips' with Smarty and the templates.
The current code for the particular section is
I need to change this code so that the file 'db:mydownloads_download.html' is displayed across the screen in three columns and then the next row starts.
Does anyone have any ideas?
Thanks in advance for any help!!
I've recently started to explore and change XOOPS and I'm looking to change the look and feel of my website.
My problem is with the downloads section. When I am viewing the items to download from the section the items are listed in a table that is one column wide.
I would like to have 3 downloads per row in this table instead of the 1.
I have managed to identify that the "mydownloads_viewcat.html" template needs to be changed but I am still 'getting to grips' with Smarty and the templates.
The current code for the particular section is
table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td width="100%" align="center" valign="top">
<!-- Start link loop -->
<{section name=i loop=$file}>
<{include file="db:mydownloads_download.html" down=$file[i]}>
<{/section}>
<!-- End link loop -->
</td></tr>
</table>
I need to change this code so that the file 'db:mydownloads_download.html' is displayed across the screen in three columns and then the next row starts.
Does anyone have any ideas?
Thanks in advance for any help!!