1. gnsbud
  2. RO CSVI
  3. Saturday, 08 August 2015
  4.  Subscribe via email
Hi,

I know you added possibility to make own plugin and run it onafterimport (I remember some topic about it).
Is there any chance to have "on after export" trigger to run plugin after export is done?

Best regards,
Chris
Accepted Answer Pending Moderation
Hello Chris,

I can add a trigger but at which point? Should this be done before outputting the file or just before that? I guess it depends on what you are wanting to do with the trigger.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi,

I would like to do some processing of exported file (saved on server) and also do some db column update, so I guess best would be to have trigger after file output.

Best regards,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hey Chris,

If you want to do some processing of the exported file, you probably want the name of the file passed to the trigger. The only thing I need to think of is the plugin group it goes into.

Anything else you can think of you would want in the trigger?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hi,

would be great to have $params quite similar as they are in onImportComplete() function (to access operation, action etc.).

Best regards,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Chris,

Attached a patch file that adds the onExportComplete trigger with the same exact signature as the onImportComplete signature.

Let me know how it goes.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!