Developing Fabrik Form Plugin

ricslabb03

Member
Hi there,

I am working on a new form plugin that is basically a clone of the current log plugin, except I have added JSON to the available log formats.

It works fine if I just modify the log plugin. However, as far as I understand, all my changes will be overwritten when I update from fabrik next. That is why I would like to develop a new form plugin.

I found this post from a few years back: http://fabrikar.com/forums/index.php?threads/fabrik-plugin-development.14285/ and it references a tutorial video, but I cannot find that video.

I have followed general Joomla tutorials on how to create plugins (https://docs.joomla.org/J3.x:Creating_a_Plugin_for_Joomla), however when I try to select the plugin I get the following error message:

Fabrik pluginmanager addPlugin ajax failed:
Fabrik Request Queue: 500 Internal Server Error

Am I missing something?
 
Really, the log plugin needs completely rewriting. It was contributed by a user many years ago, and has a lot of issues.

I presume you copied the existing plugin folder to a new name. Did you then change EVERYTHING to match the new name? So all the filenames, say 'logs.php' to 'mylogs.php', and all the field names in the forms/fields.xml file (so logs_record_referer to mylogs_record_referer), then every refernce to any opf those field names in the mylogs.php, and the class name in the PHP, and all the language tag names, and ...

-- hugh
 
Thanks, Hugh.

I did not change everything - just the things I thought needed changing. I will look through the code for any references and let you know if that solves it.

Thanks for your help! :)
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top