hello,
thank you for the great module.
I was unable to add a CCK extra fields for the Image Fupload module.
I had to add it in the code.
BTW 'image_fupload_imagefield' is what has to be added to be able to zip images of the image fupload-module.
geert
Comments
Comment #1
arski commentedHey,
yea, same issue here. The problem is that the form for setting the cck fields doesn't do anything... you can enter/remove anything to/from it, but there is no submit handler, so nothing will ever happen...
Would be nice if someone fixed this!
Thanks! :)
Comment #2
ssm2017 Binder commentedhello
thank you for reporting
but
what sub module are you speaking about ?
(pclizip itself does nothing, so you should speak about maybe :
http://drupal.org/project/pclzip_zipfolder
http://drupal.org/project/pclzip_zip_node_files
http://drupal.org/project/pclzip_zip_content_files )
where did you add the code ?
what form does not have submit handler ?
that's a long time i had not played with these modules so if you can give me, please, more infos, about your problems, i can try to fix them
Comment #3
arski commentedHey there,
Actually, the form in question is one from pclzip itself, and I'm using pclzip_zip_node_files which takes the configuration from the pclzip module.
The form is generated by pclzip_settings and is the one shown at admin/settings/pclzip.
When loading that form, it tries to get a variable called "pclzip_extra_cck_modules" as the default value, but since there is no place in the code where that variable would be set, it always returns the alternative - "'imagefield','filefield'".
Same happens when the pclzip_zip_node_files module calls the pclzip_get_extra_cck_fields function inside the pclzip module which, again it tries to load that variable but ends up taking the default value.
Let me know if you need more info.
Thanks for looking into this!
Comment #4
ssm2017 Binder commentedit looked like only one field error, i have corrected this in the next "dev" release that should be available in 12 hours after my post
changed line 52 in pclzip.module file to :
ps: this is normal that there is no "submit" handler for admin settings because this is managed by the core itself.
Comment #5
arski commentedyep, perfect :) Thanks!
Comment #6
ssm2017 Binder commented