Enhancement : extended the batch to custom attributes

You need to be logged in to post messages in the forums. New users may register here.

laurent le cadet

Member since:
09 January 2008

Posts: 2

Friday 28 November 2008 1:22:42 am

Hi,

First, this is a very powerfull extension. Thanks a lot.

I'm using it to import images.
After that I need to add tags to make them searchable in a more intuitive manner than on the file name (mostly e.g PH049-01...).

It would be very usefull for my purpose to be able to add a unique tag in a Keyword datatype for each objects as images are imported from a category (e.g "Animals").

But I don't know how to go easily deeper in the data_map of the chosen object type to be imported.

Support me if someone think it is relevant :)

Best regards.

Laurent
Up

Ɓukasz Serwatka

Member since:
10 January 2008

Posts: 28

Wednesday 10 December 2008 7:26:05 am

Hello Laurent,

ezmultiupload has a handler which can exec your custom method preUpload and postUpload. On postUpload you have access to the imported image object so you can do some stuff with it. In both methods you should have access to the $_POST and $_FILES arrays. I will add soon an example how to make such handlers.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Up

You need to be logged in to post messages in the forums. New users may register here.