Right now widgets can only be created for system users. However, it turns out I need to create widgets for another type of entity.
Is this possible? If yes, please tell me how can I implement this?
Also, these widgets should be available for system users, viewing the page of this entity's type (the one i need to create widgets for).
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.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
You must log in to post replies.I created group widgets for a client and used the widget container guid to determine what widget should be displayed in what group profile.
Containers can be any Elgg type/subtype (they are not restricted to users and groups) so that would probably work for you as well.
Actually, I think the fact that the owner guid is used to determine the location of user profile and dashboard widgets is a bug - the widget system should always use the widget container guid which would make your sort of application even easier to implement.