PDA

View Full Version : Category layout problem when few games in category.


Black Tiger
03-28-2007, 12:20 AM
Have a problem when there are just 1 or 2 games in a category. Maybe it happens with 3 also I don't know.
You can have a look how at it here: http://www dot satellitefun dot org/bbs/arcade.php?&act=Arcade&cat=4

How more games come into that category, how better it looks, but is there no way to fix this layout problem when having only few games in a category?

MrZeropage
03-28-2007, 05:46 AM
you can setup in the arcade main settings how many games to show per row. If there are less at all to show, this is a problem. Maybe you try the alternative v3-style as this one shows the games in rows (one per row)

Black Tiger
03-28-2007, 02:25 PM
I don't like the v3-Style very much. The ibpro style is much better.
In that case I have to put more games in the puzzle section to fix the problem.

However I discovered 1 other little problem with the layout.
Alle text is centered even when only 1 game is present.
But 1 line "add to favorites" is centered in relation to the whole block, not like the "play game" and "show High scores" text.

It would be nicer if it was possible the center this "add to favorites" too in the same way as the other 3 lines instead of how it is centered now.
Is that possible?

MrZeropage
03-28-2007, 06:07 PM
edit /arcade/skin/skin_Arcade.php ;)

Black Tiger
03-28-2007, 06:14 PM
Thanks but i'm a noob in php, what should I change exactly?

MrZeropage
03-28-2007, 06:32 PM
it's HTML you need to change :)


Sorry, not enought time by now to get through the skin and do cosmetical adaptions, maybe somebody else can help here ?

Black Tiger
03-28-2007, 06:53 PM
Well when i do a search in that file the only thing responding to "favo" (from favorite) is the following:
function favorites($game_list,$stylecolumns) {
global $ibforums;
return <<<EOF
<div class="tborder">
<table cellpadding="$stylecolumns" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" align="center" colspan="$stylecolumns">{$ibforums->lang['my_favs']}</td>
</tr>
{$game_list}
</table>
</div><br />
Does not really look html to me, but then again, I'm not that good in html either.:)

Would be nice if anybody else could help indeed, if you don't have time, it's not that big an issue.