21
mrjingles
MyDownloads Template to display 3 columns
  • 2004/11/10 19:55

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


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

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!!




TopTop
« 1 2 (3)



Login

Who's Online

242 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 242


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits