aboutsummaryrefslogtreecommitdiff
path: root/pages/friends.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-13 02:03:17 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-13 02:03:17 +0000
commitdd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 (patch)
tree71f92cbf22405ddbec079480e207c7fd3fe00e0a /pages/friends.php
parente7a7c88d81f494d8a0c99f36338247caaf6b4bd3 (diff)
downloadelgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.gz
elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.bz2
fixed display of some album pages - caused a cascade of changes required
Diffstat (limited to 'pages/friends.php')
-rw-r--r--pages/friends.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/friends.php b/pages/friends.php
index e35adce04..03ae1300a 100644
--- a/pages/friends.php
+++ b/pages/friends.php
@@ -26,11 +26,14 @@
$area2 = elgg_view_title($title);
+ $albums = get_user_friends_objects($user->guid, 'album', 12);
+
// get html for viewing list of photo albums
set_context('search');
set_input('search_viewtype', 'gallery'); // need to force gallery view
- $area2 .= list_user_friends_objects($user->guid, 'album', 10, true, false);
+ $content = tp_view_entity_list($albums, count($albums), 0, 12, false, false, true);
+ $area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,));
$body = elgg_view_layout('two_column_left_sidebar', '', $area2);