Hi Kev & Co.
I just wanted an insight into how I may be able to overwrite the 'venue' input when creating an event.
I have created a plugin that allows users to submit places, venues. So I'd like to overwrite the event calendar so one of the places that already exists in my plugin MUST be used when holding an event?
I have no problem creating an array full of myplugin->titles but not sure where to start in doing something to the event calendar from my plugin. Obviously I'd like to not have to fiddle with the event calendar as I expect/assume nice updates and improvements as time goes on.....
Thanks - any help greatly appreciated... :)
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
- James@feel_sickened

James - 0 likes
- Kevin Jardine@kevin

Kevin Jardine - 0 likes
- James@feel_sickened

James - 0 likes
You must log in to post replies.Hi James,
Your plugin can just over-ride the
event_calendar\forms\manage_event
view with one that replaces the venue field.
That should not affect anything else so far as I can see.
Hi Kev,
I'm thinking I could replace manage_event_content with basicially an identical duplicate form - but with appropriate changes to the venue.
I guess the question is - is this going to be as simple as creating
mod/myplugin/views/default/event_calendar/forms/manage_event_content.php
I'd need a start.php that extends the view too, yeah? or is this the wrong approach..?
appreciate your advice, master Jardi ;)
-James
You are replacing the view, not extending it, so your start,php can just be an empty file.
Arhhh - true that.
Thanks! :D