I’m creating a new community site using the Elgg 1.8 platform, but a lot of the widgets are still using the old 1.7 CSS for their displays so it means a lot of fixing.
The existing tidypics/views/default/tidypics/groupprofile_albums.php suffers from this problem but is simply fixed by changing
<?php
/***********************************************
*
* This is used on the group profile page
*
***********************************************/
if ($vars['entity']->photos_enable != 'no') {
echo '<div class="group_tool_widget photos">';
echo '<span class="group_widget_link"><a href="' . $vars['url'] . 'pg/photos/owner/' . page_owner_entity()->username . '">' . elgg_echo('link:view:all') . '</a></span>';
echo '<h3>' . elgg_echo('album:group') . '</h3>';
echo elgg_view('tidypics/albums', array('num_albums' => 5));
echo '</div>';
}
?>
to
<?php
/***********************************************
*
* This is used on the group profile page
*
***********************************************/
if ($vars['entity']->photos_enable != 'no') {
echo '<ul><li>';
echo '<div class="elgg-module elgg-module-group elgg-module-info">';
echo '<div class="elgg-head">';
echo '<span class="groups-widget-viewall"><a href="' . $vars['url'] . 'pg/photos/owner/' .page_owner_entity()->username . '">' . elgg_echo('link:view:all') . '</a></span>';
echo '<h3>' . elgg_echo('album:group') . '</h3>';
echo '</div>';
echo '<div class="elgg-body">';
echo elgg_view('tidypics/albums', array('num_albums' => 5));
echo '</div>';
echo '</div>';
echo '</li></ul>';
}
?>



[...] views for my Elgg CSS Fix page this month. For the record at the time of writing the site has had 6908 unique views and the [...]