Can't get what you mean... I've hacked the defaultwidgets plugin in order to have multiple default context widget such as dashboard and profile and I'm trying to add this defaultwidget in a new mod plugin...
I will reengineer profile mod...
Anyway, thx Cash...
Ok, I got it!
Just copy index.php from dashboard code in /dashboard and replace by your context. Now, I would like to do a plugin with that...
Finally, I succeed!
I'm going to package a plugin for you guys ;)
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.