Hello all I am experimenting with the custom_index plugin. My idea here is to vary the content of one of the modules based on if a user is logged in. I know I can use elgg_is_logged_in() to tell if they're logged in, but I want to display, say, the last seven river events. But if they're not logged in, I'll just display some marketing text.
Is there some sort of view or function or something I can call to display the last seven or so river events to a view?
Thanks!
-Justin
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Per Jensen@gillie
Per Jensen - 0 likes
- Justin@justinrixx
Justin - 0 likes
You must log in to post replies.Use elgg_list_river($options);
Works great! Thanks! Can't believe I couldn't find this on my own!