Re: How the Online block can appear as a a grid
Hi Jeff! Thanks a lot for the detailed examples. I do have Firebug – its a helpful tool
The problem here is how to tell the code to generate the stuff so that the output is in a grid or table-cell pattern. The rest can be then done with css.
Usually the admin interface for many cms has option to define the elements in a block on one of the chosen ways : list, grid etc. Here we do not have that. So css only probably can’t help.
The relevant code is
<div class="avatar-block">
<?php foreach ( (array) $users['users'] as $user ) : ?>
<div class="item-avatar">
</div>
<?php endforeach; ?>
Question is how I tweak the code so that the output is in table-row-column or cell form or grid form ?