aboutsummaryrefslogtreecommitdiff
path: root/pages/lists/mostrecentimages.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/lists/mostrecentimages.php')
-rw-r--r--pages/lists/mostrecentimages.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/pages/lists/mostrecentimages.php b/pages/lists/mostrecentimages.php
index 8a9f8dbdb..99dfeb4c9 100644
--- a/pages/lists/mostrecentimages.php
+++ b/pages/lists/mostrecentimages.php
@@ -30,6 +30,14 @@
set_page_owner(get_loggedin_userid());
}
}
+
+ // allow other plugins to override the slideshow
+ $slideshow_link = trigger_plugin_hook('tp_slideshow', 'album', array(), null);
+ if ($slideshow_link) {
+ add_submenu_item(elgg_echo('album:slideshow'),
+ $slideshow_link,
+ 'photos' );
+ }
// how many do we display
$max = 12;