The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I Need To Downloadsii Template Modification
I would like to arrange the main categories in a way that every two categories appear next to each other (in the mode DOWNLOADSII). Every time I tried this, the categories come above each other. Please Advise.
this is my downloads_main_catbit template: Code:
<div align="center"> <table border="0" width="200" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <table border="0" width="220" id="table1" cellspacing="0" cellpadding="0"> <tr> <td> <p align="center"> <a href="downloads.php?do=cat&id={$cat['id']}"> <img class="inlineimg" src="{$cat['catimage']}" alt="{$cat['name']}" border="0" id="forum_statusicon_$forum[forumid]" /></a></td> </tr> <tr> <td> <table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0" background="hosting/border/border-bg.jpg"> <tr> <td width="1"><img border="0" src="hosting/border/border-r.jpg" width="4" height="20"></td> <td><a href="downloads.php?do=cat&id={$cat['id']}">{$cat['name']}</a></td> <td dir="rtl" width="1"> <img border="0" src="hosting/border/help.gif" alt="{$cat['description']}"></td> <td dir="rtl" width="1"><img border="0" src="hosting/border/border-left.jpg" width="4" height="20"></td> </tr> </table> </td> </tr> <tr> <td> <table border="0" width="100%" id="table3" cellspacing="0" cellpadding="0" background="hosting/border/border-bg.jpg"> <tr> <td width="1"><img border="0" src="hosting/border/border-r.jpg" width="4" height="20"></td> <td>{$cat['files']}</td> <td dir="rtl" width="1"><img border="0" src="hosting/border/border-left.jpg" width="4" height="20"></td> </tr> </table> </td> </tr> <tr> <td> <table border="0" width="100%" id="table4" cellspacing="0" cellpadding="0" background="hosting/border/border-bg.jpg"> <tr> <td width="1"><img border="0" src="hosting/border/border-r.jpg" width="4" height="20"></td> <td><span class="smallfont">{$vbphrase['ecdownloads_files']}</span></td> <td dir="rtl" width="1"><img border="0" src="hosting/border/border-left.jpg" width="4" height="20"></td> </tr> </table> </td> </tr> <tr> <td> <table border="0" width="100%" id="table5" cellspacing="0" cellpadding="0" background="hosting/border/border-bg.jpg"> <tr> <td width="1"><img border="0" src="hosting/border/border-r.jpg" width="4" height="20"></td> <td>{$vbphrase['ecdownloads_downloads']}: {$dl->stats['downloads']}</td> <td dir="rtl" width="1"><img border="0" src="hosting/border/border-left.jpg" width="4" height="20"></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> |
#2
|
||||
|
||||
How about an image? But, just looking at the code above, you have several rows, which means stuff will be on top of each other, not next to each other.
|
#3
|
|||
|
|||
<a href="http://www.traidnt.net/vb/attachment.php?attachmentid=364873&d=1240256127" target="_blank">http://www.traidnt.net/vb/attachment...3&d=1240256127</a>
|
#4
|
||||
|
||||
Ah, OK, so the template you posted above is for each of those items - an image with four lines below it. And you want two of those to show up next to each other and then a new line. So, what are you doing to make them show up next to each other instead of side by side? You may have to take a look at a modification, like Cyb's subforums in columns (something like that), to see the code used to put items in a set number of columns.
|
#5
|
|||
|
|||
I would like how to do this too. Tried editing the code, i can make them display side by side using <td> but then it dispalys the SAME item and not the next item in the list.
Im just a beginner coder so some help would be great this is the original code HTML Code:
<tr valign="top"> <td class="$bgclass" valign="top" align="left" nowrap="nowrap"> <a href="downloads.php?do=cat&id={$cat['id']}">{$cat['name']}</a> <if condition="$cat['catimage'] != ''"><br /><br /><a href="downloads.php?do=cat&id={$cat['id']}"><img src="{$cat['catimage']}" alt="{$cat['name']}" title="{$cat['name']}" border="0" /></a></if> </td> <td class="$bgclass" valign="top" align="left"><span class="smallfont">{$cat['description']}$subcats</span></td> <td class="$bgclass" valign="top" align="center" height="40"><span class="smallfont">{$cat['files']}</span></td> </tr> |
#6
|
|||
|
|||
If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.
|
#7
|
|||
|
|||
Hey sorry didnt mean to post wrongly but the OP posted that in the original thread and the authors didnt reply for some reason so i guess he posted here to see if others could help with it cause its more of a general table template thing then something specific to the application.
If anyone knows how i would great appreciate it!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|