Belay that, I neglected to pick a directory when specifying the field. Works now…
Thanks,
- Andrew
Hello,
Extension sounds great, but I have this SQL error when I try to edit an entry that uses the custom ‘File’ field type:
MySQL ERROR:
Error Number: 1064
Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1
This extension is awesome and going to be a staple in my EE CMS usage.
Just an fyi though - I received one error notification under a specific scenerio: When a new field group is created and the “File” field is the first field that is added to the group, I receiving the following message -
Notice: Undefined variable: field_type in */system/cp/cp.publish_ad.php on line 5404
When I created a new field group and a different custom field is added first and then the “File” field after that, the above message does not appear.
Thanks for the quick response. In what file is that Edit Field Group page found. I was looking in the CP directory and not sure which file I’d hunt for that code. I’ll hunt for it but if you know off hand, that would be great.
thank you mark, for this extension. seems really useful.
I have a problem with ee 1.5.1 and the file-extension 1.0.9
when using the upload field, no other entry field is accessible and every click creates a further upload-field (see attached screenshot).
this only happens when a file is choosen via the browse button. seems like a javaScript problem. any idea?
oh, seems that it only affects ie(v.7 on winXP). it works perfect under firefox.
has anyone experiences with the file-extension on safari and ie?
It seems to work fine for me in FF and IE7 xp. In the Extension settings do you have Allow Multiple Files set to yes or no? If yes, it will create another file select browse box after uploading the previous file. I’m not sure if you are seeing that as the error or if there is something more problematic happening. Sounds like maybe the latter though.
yes, I configured the extension for Multiple Files, and it`s ok that another file select browse box is created after uploading the previous file. But every further klick creates another one, other custom-fields aren`t clickabel (results in one more select browse box), never the submit-button.
but i´m glad to hear that other xp/ie7-setups work like yours rob. I`ll upgrade my ie7, it`s still a early beta. it works perfect for me with ie6 /firefox 1.5 /opera 8.51 and I`m really astonished about your effort, mark. Your extensions are really cool. I think 2006 will get a power-boost year for ee-extensions cuz you joined this community.
is there a thread for your mult-reference extension? this causes a blank page when calling the containing publish-form.
I’ve updated the extension to 1.1.0. It fixes just a few small bugs where incomplete URL’s were being added to the template where no image was uploaded. Also if you’re using this extension in the SAEF you’ll have to modify your mod.weblog_standalone.php file within the /system/modules/weblog/ folder. Find the following line:
I just ran into this problem on two test installs: it’s repeated for several fields that I created -
Notice: Undefined index: field_id_22 in /*/system/extensions/ext.file.php on line 534
UPDATE: Ok, So I took out the following code and the error message went away. I take it then I may have coded it in a way that is causing a result that produces this error - ?
{!-- HEADLINE ARCHIVE IMAGE & RELATED NEWS LINK --} {if:elseif ts_image_archive != "0" AND ts_related_news != "0"} {related_entries id="ts_related_news"}<a href="{permalink="news/index"}">{/related_entries}{related_entries id="ts_image_archive"}<img src="{image_archive}" border="0">{/related_entries}</a>
{!-- HEADLINE ARCHIVE IMAGE & NO URL --} {if:elseif ts_image_archive != "0" AND ts_open_field_link == "" AND ts_related_news == "0"} {related_entries id="ts_image_archive"}<img src="{image_archive}" border="0">{/related_entries}
So what I am doing above is checking to see if the related field is selecte and pulling in a related weblog custom field that uses the “File” upload. When I take the related custom fields out a notice goes away each time
Sorry if this has been covered already, and I suspect the answer is ‘no’, but…
Is there any conceivable way that it would be possible to add extra metadata for each file upload? The reason why is that I’d like to add a specific alt attribute value for each image. Also, I’m incorporating this with the Lightbox technique which requires a title attribute to create a caption for each image.
As I say, I suspect there’s no feasible way of doing this, beyond going back to having multiple fixed custom text input fields (img1, img1_caption, img2, img2_caption, etc)