Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 25th May 2009, 12:11
wrestleman wrestleman is offline
Member
 
Join Date: May 2009
P2P
Posts: 8
Default TBDev Cats Align Problem ?
Hello,

There is probably an easy fix for this,

Click the image to open in full size.

?
Reply With Quote
  #2  
Old 25th May 2009, 12:15
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
What version of tbdev are you using?
Phogo
Reply With Quote
  #3  
Old 25th May 2009, 13:41
wrestleman wrestleman is offline
Member
 
Join Date: May 2009
P2P
Posts: 8
Default
tbdev-01-01-08 from tbdev
Reply With Quote
  #4  
Old 25th May 2009, 13:56
TheHippy's Avatar
TheHippy TheHippy is offline
Member
 
Join Date: May 2009
P2P
Posts: 3
Default
the problem is in browse.php
Code:
    <tr>

<?
$i = 0;
foreach ($cats as $cat)
{
    $catsperrow = 7;
    print(($i && $i % $catsperrow == 0) ? "</tr><tr>" : "");
    print("<td class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a></td>\n");
    $i++;
}
you could do something like this (not tested though)

Code:
<tr>
<td>
$i = 0;
foreach ($cats as $cat)
{
    print("<span style=\"padding-bottom:2px; padding-left:7px text-align:left; width:30px; float:left;\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a></span>\n");
    $i++;
}
<br />
then find under it
Code:
    </tr>
    </table>
and change it to

Code:
</td>
    </tr>
    </table>
something like that i think should do it dude.. you might have to tinker a couple of times to get it working exactly right
Reply With Quote
Reply

Tags
align , cats , problem , tbdev


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Categories in TbDev Extreme86 TBDev 1 16th September 2013 22:38
Problem with TBDEV Tracker - Torrents problem M4d4lyNn TBDev 0 15th January 2010 08:49
Problem on TBDev lovebeer Community Cafe 1 25th July 2009 10:21
TBDev problem zIoN TBDev 3 22nd December 2008 11:08
icons cats in browser gvalfer Torrent Strike 3 5th November 2008 23:42



All times are GMT +2. The time now is 22:39. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.