Hi,
I'm déveloping a new plugin, and I need to detect the event_calendar context. It's easy in event_calendar context through a pagesetup event handler. Nevertheless, when we R in a group (so group context) we can't detect the event_calendar context.
I'd like to know if there is a way to do so, without using $_SERVER['request_uri']?
thx
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
- Julien Crestin@juliendangers
Julien Crestin - 0 likes
You must log in to post replies.Sorry, no.
Elgg 1.8 introduces context stacks which makes it much easier to do this sort of thing and so it should be possible when the Elgg 1.8 version of the event calendar is released.
But for now, examining the URL is probably the only way.
ok thx for your answer.
I'll use the last option^^