Bravo List

Bravo List (https://www.bvlist.com/index.php)
-   Community Cafe (https://www.bvlist.com/forumdisplay.php?f=18)
-   -   TBDev Cats Align Problem ? (https://www.bvlist.com/showthread.php?t=2688)

wrestleman 25th May 2009 12:11

TBDev Cats Align Problem ?
 
Hello,

There is probably an easy fix for this,

http://img37.imageshack.us/img37/2560/help1n.gif

? :sad: :wallbash:

Phogo 25th May 2009 12:15

What version of tbdev are you using?
Phogo

wrestleman 25th May 2009 13:41

tbdev-01-01-08 from tbdev



$i = 0;
foreach ($cats as $cat)
{
    $catsperrow = 7;
    print(($i && $i % $catsperrow == 0) ? "" : "");
    print("\n");
    $i++;
}
you could do something like this (not tested though)

Code:



   
TheHippy 25th May 2009 13:56

the problem is in browse.php
Code:

   
" . htmlspecialchars($cat[name]) . "

$i = 0;
foreach ($cats as $cat)
{
    print("" . htmlspecialchars($cat[name]) . "\n");
    $i++;
}
then find under it
Code:

   

and change it to

Code:


   
   

something like that i think should do it dude.. you might have to tinker a couple of times to get it working exactly right

All times are GMT +2. The time now is 21:35.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2026, vBulletin Solutions Inc.