I am currently looking into enabling the event calender widget on the index page available through the "widget manager" plugin.
Adding it is easy (add "index" in start.php widget registration), but it seem the current widgets only show group/personal events and not the site events which I would like to show on the index page. Thus the widget on the index page remains empty if added.
It seems to me (not very good at php) from looking at the code, that the site calendar items are actually handled a bit different from the group and personal calender items. Thus I am having difficulties determining how to make the index widget work.
Is there a function to get all the site calender items that I am overlooking?
Thanks!
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.
- Krischan@krischan
Krischan - 0 likes
You must log in to post replies.Ok I developed a small add on plugin:
http://community.elgg.org/plugins/1592582/0.1/event-calendar-index-widget
It actually can't display only the site events as that seems too difficult for my limited coding skills (needs custon DB query), but you can specify it to display only the events of a certain group, or alternatively all public events.