Login     Sign up
Groups and Page listing
Mark S. (@markiemark67)
Join date: Dec 4th 2010
Community posts: 136
View Profile
Send Message

How can I change my Groups and Pages Listing to Two Columns Rather then one. Any suggestions since I'm still learning PHP :(.

170 months ago
1
Eliz zeta (@eliz)
Join date: Nov 29th 2010
Community posts: 153
View Profile
Send Message

what i think to be a good point to begin is :
create 2 columns in the table editing this
[code]
c('<table><tr><td>'.$logo.'</td><td>'.
url('group/'.$group['uri'],h($group['name']) ).'<br />
<span class="sub">members ('.$group['members'].')</span>');
c('<br /><span class="sub">Slogan: '.h($group['slogan']).'</span></td></tr></table>');
[/code]

and try to edit :
[code]
$res = sql_query("select * from ".tb()."groups where 1 ".dbhold()." order by members DESC LIMIT $offset,$num_per_page");
[/code]
calling for the first column groups with id pair and in the other column groups with unpair id.

i dont know if this is possible, maybe php gurus as falcone can help you

170 months ago
1