My Submitted Events: add Close event button

  • Antonello Mancuso
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 7 months ago #86770 by Antonello Mancuso
My Submitted Events: add Close event button was created by Antonello Mancuso
Hello there,
I think a nice feature is missing now it will be a button into My Submitted Events template to allow User that published an event to quickly Close it, without enter into editing page.
I would like to add a button to Close event.
What this button should do?
When the owner of the event click on this button, it must set:
Code:
$event->end_date = $currentdate; where $currentdate = JFactory::getDate()->format("Y-m-d H:i");
In this way, event owner can directly close an event, without enter into Editing event page.
I hope to see this feature into a future update.
Thanks :) !!

Eng. Antonello Mancuso

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc