Elgg 1.8 Tidypics Group Fix

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


photos_enable != 'no') {
echo '

';
echo '' . elgg_echo('link:view:all') . '';
echo '

' . elgg_echo('album:group') . '

';
echo elgg_view('tidypics/albums', array('num_albums' => 5));
echo '

';
}
?>

to


photos_enable != 'no') {
echo '

  • ';
    echo '

    ';
    echo '

    ';
    echo '' . elgg_echo('link:view:all') . '';
    echo '

    ' . elgg_echo('album:group') . '

    ';
    echo '

    ';
    echo '

    ';
    echo elgg_view('tidypics/albums', array('num_albums' => 5));
    echo '

    ';
    echo '

    ';
    echo '

';
}
?>

Leave a Reply

Your email address will not be published. Required fields are marked *