I an very much a novice at elgg and programming. I would like to know how to create a tabs with friends, mine, all like on the blog page. I have read up on Cash Castello book on Social Networking Elgg 1.8 and have come to some understanding of creating a plugin.
I have searched the way to create a tab with my own content showing when clicked but have had no luck in understanding how to implement it.
If someone could point me to some code or plugin which passes tab paramters to the filter.php page (I think thats where its being sent) I would be appreciative.
Thank you.
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.
- Jerome Bakker@jeabakker
Jerome Bakker - 0 likes
You must log in to post replies.If you output your content in a 'content' layout the tabs 'All', 'Mine' and 'Friends' will be there by default (look at /mod/file/pages/file/world.php or ..../friends.php or ..../owner.php).
Since the tabs are a menu, you can register a plugin hook (elgg_register_plugin_hook_handler('register', 'menu:filter', 'the_name_to_some_function')) and you can add/remove/edit the tabs.