1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Integration between Fabrik x Moodle - SOLVED

Discussion in 'Community' started by HyperOsmar, Feb 25, 2021.

  1. HyperOsmar

    HyperOsmar Member

    Level: Community
    It is possible to integrate the Fabrik form and Moodle registration.

    I need to develop a form that when filled out by the user, it is automatically registered in Moodle.

    Currently, I created a form in Fabrik, I generate the batch file (.csv) and after loading, manually the csv in Moodle.

    Has anyone tried or can help me ??? ...

    I apologize for my English ... Translated by Google.
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    If Moodle has an API or uses MySQL database tables it should be possible.

    You can use a form php plugin to do with the data collected by your form (nearly) anything you want.
     
  3. HyperOsmar

    HyperOsmar Member

    Level: Community
    troester, good morning ... (local time - Brazil) ...

    Moodle does allow connection to external databases, but when I do this "synchronization" with the table, the corresponding fields in Moodle are blank, that is, it synchronizes but does not load the data from the Fabrik table to the Moodle table.

    In case you find the solution, I'll post it here ...

    Thanks for listening.
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    I don't know Moodle details (the e-learning tool?).

    If it has an option to synchronize with an external DB table (i.e. "sync" triggered by Moodle, Moodle reading the Fabrik table) this is not Fabrik related; Fabrik is filling its DB table but doesn't care who else is reading.

    If you have database write access to the Moodle tables it should be possible to write data on form submit via Fabrik (i.e. "sync" triggered by Fabrik, Fabrik writing to Moodle table).
     
    juuser likes this.
  5. mahmoodee

    mahmoodee Member

    Level: Community
  6. HyperOsmar

    HyperOsmar Member

    Level: Community
    mahmoodee, tks for listening...
    But Joomdle integrates between Joomla tables, but not the tables created by Fabrik. Another detail, I want to make the integration as native as possible with Moodle, avoiding using third party plugins.
     
  7. HyperOsmar

    HyperOsmar Member

    Level: Community
    Community, good night ...

    I managed to enter a simple way to connect, authenticate and synchronize the data between Fabrik tables and Moodle.

    As soon as the user fills out the form in Joomla x Fabrik, he is automatically registered on the Moodle platform.

    If anyone is interested, I will be available.

    Thank you all.
     
  8. troester

    troester Well-Known Member Staff Member

    Level: Community
    A short description of how you did it would be interesting.
     

Share This Page