Support is online

Override import/export routines #8176

Open barra78 opened this topic Monday, 11 April 2016 · 2 replies
Author

Hi,

the override import/emport routines working on CSVI Pro 6.5.6?

I must override the K2 Item import routines for copy the image instead moving it but ... nothing happen!.

It work if I use the same "trick" into /administrator/components/com_csvi/addon/com_k2/model/import/item.php (simple change JFile::move into JFile::copy at line 375).

I have try many path variations (some strange) into /administrator/templates/isis/html/com_csvi/ ("isis" it's my default template):
model/com_k2/import
models/com_k2/import
model/k2/import
models/k2/import
addon/model/com_k2/import
addon/models/com_k2/import
addon/model/k2/import
addon/models/k2/import

but no result: where do I am wrong?

Support

Hello,
yes, Override routine for import/export is not working in current version. But i am working on this task and will be having the code ready in sometime. I will send you the patch once its ready.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Support

Hello,
The patch file for overriding import/export routine is ready. Please load the attached patch file and run the override import routine again. once you have applied the patch, you need to place your override file in the path "/administrator/templates/isis/html/com_csvi/ com_k2/model/import/item.php" and in your template settings on details tab, click on "Advanced" button. You will get an option under operation for selecting the overrides you have created according to the action. Select the one required, save the template, run the import and see the override changes in the import. Please run this and let me know how it goes.

patch_override_12-04-16.zip

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.