Widget for another type of objects (not for user)

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).

  • 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.