Fork me on GitHub

TimeIt plugin question  Bottom

  • I want to be able to do event registrations. And my understanding is that I can do with with TimeIt and Formicula but I don't understand how to go about doing that.

    Some how I can create an Event plugin and refer to in in the config.php but I don't quite understand what I am supposed to do... Can someone explain this in a bit more detail?

    thanks!
  • TimeIt already contains a event plugin for Formicula.
    Small howto:
    • Copy modules/TimeIt/pndoc/formicula/* to modules/formicula/pntemplates
    • Edit the (default) calendar in the administration: set 'Allow user to subscribe events' and enable Formicula in 'Allowed contact input modes'
    • Create an event and set and Registration limit > 0 and choose Formicula as contact input
    • Go to the event detail page: Now you should see the Formicula registration form.
  • Fantastic! Thank you... I was missing the limit > 0
  • thought I would ask another related question.

    Now that I have the Formicula working is there a way to save the information that is gathered on the form? I assume I need to do something with a plug in... but I want to be able to save the information that the user fills out on the Formicula form for the event they register on.

    Thanks in advance.
  • With TimeIt >= 2.1:
    You can add custom fields to the Formicula form. To save your fields with the registration simply add your fields to the pnmodapifunc call (name,street,comment,... are dynamic too). TimeIt saves all additional fields in the data column in the DB (Table TimeIt_regs).

    In the TimeIt_user_viewUserOfSubscribedEvent(_csv).htm template you can access your field with $user.data.myfield.

This list is based on users active over the last 60 minutes.