how can i arrange boards into columns of 2 so that i can get some thing like this
(http://img311.imageshack.us/img311/7474/what7ee.gif)
this is just like coppermine galleries display...i tried to get it from there but i cant understand coppermine template system ::)
any help will be gr8
thanks
can any one help in here?
thanks
you could do this by modifying your theme's BoardIndex.template.php
Look for the section:
/* Each board in each category's boards has:
new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
children (see below.), link_children (easier to use.), children_new (are they new?),
topics (# of), posts (# of), link, href, and last_post. (see below.) */
foreach ($category['boards'] as $board)
and after that, modify the table structure to use alternating columns rather than individual rows...
Actually the problem is that what modifications I need to put in there. I tried to do that earlier but all boards were appearing in one long continuous column instead of just 2.
I'd also like to know how to do this, as well, since I've got a site that I'd like to do this for.
well, it would be a theme thing...
Most of the people who make themes get to charge for something specific like this.
so any one giving me some idea how can i do this?
:(
use a
$x=1;
foreach...
if (!$x) {
echo '
<tr> <td> one section </td>';
$x=1;
} else {
echo '
<td> second section </td></tr>';
$x=0;
}
that might work... or you could try using a CASE statement...
As I said, most of the people who do themes would charge money for doing it...
Use the attached template for two columns...
(solved)