Forums

How to create my own actions

ladyj 28 Nov, 2017
Hi,

I'm looking for some documentation to write my own actions.

I took a look to the default ones, I understood I have to write a class whitch extends \GCore\Admin\Extensions\Chronoforms\Action. But what about parameters and so on?

Thanks in advance.
Max_admin 28 Nov, 2017
Hi ladyj,

What kind of action you need to write exactly ?

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
ladyj 28 Nov, 2017
Hi,

I need to send data to a "Document management system" through REST calls.
I've already successfully used "Custom code" and "curl" actions to achieve my goal, but this is a too complex solution and my customer wants to be independent.
I want to write a custom action and hide the most of complexity with parameters and so on.

I found out that the method "config_check" is used to expose parameters, is it right?
Max_admin 28 Nov, 2017
Hi ladyj,

I suggest that you check the curl action file then and build on that, if you need to understand something in this action then please let me know.

You may also check v6 if you have the option to upgrade.

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
ladyj 28 Nov, 2017
Hi,

Ok I'm going to start from curl.php.
What about string translate? The installer has to be a .zip, how I need to organize it? With file .ini like in Joomla extensions?
My action file (I'm going to call it arxivar.php) has to be in the root of my .zip installer?

Thanks
This topic is locked and no more replies can be posted.