Wednesday, 10 July 2019
  3 Replies
  632 Visits
0
Votes
Undo
how to add events by php?
i need add event to jevents by php code
how can i do?
add to data to which one tables?
i try add to jevents_vevdetail but event not show the jevents
5 years ago
·
#211473
0
Votes
Undo
Hello,

Why do you want to add events directly via PHP? Can you do the iCal/CSV Importing Instead?

Otherwise you need to pass all the object etc into our model and save.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#211487
0
Votes
Undo
I need add event by user action
after add the from data , this time add event
5 years ago
·
#211494
0
Votes
Undo
Ok you need to have title, description, start/end times and they need to be setup correctly with timezone / unix formatting. but see:

doSave function in:
\administrator\components\com_jevents\controllers\icalevent.php

Or you could look at using the CSV Import method and passing that in by seeing how we handle frontend imports in:

components/com_jevents/views/default/icals/tmpl/importform.php

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.