Mark Bowen - Probably about the same as the last version, for now. The 3.1 release will address the SAEF, and with this new version, that should be much easier within the code I’ve laid out.
Gabriel, et al. - I’ve removed the settings page because I thought it just confused the features. There was always the ability to set parameters within the individual upload location, and the EXT settings overrode those. While this was handy for some people, I think it confused more people than it helped. It also made the code for the extension quite messy. So, I’ve ditched the global EXT settings all together. The functionality is still there, you just need to set it in each upload location individually now.
I’m running into issues again with this update. I’ve created a custom field, assigned it with the File property and setup the upload properties. Only problem? Doesn’t seem to upload, giving me the error:
Gallery – There was a problem uploading ‘855397144_b02c76cf76.jpg’.
I’ve tried with single and multiple images, and confirmed that a normal upload works correctly in the same location. I don’t think SAEF is enabled on my host, but I’m not exactly sure.
Any ideas?
mark I’m a bit confused with the syntax of this.
Should we still be using the {images} {/images} tags?
I’ve got it working fine to display a single image (just using my {custom_field} tag but I’m having trouble getting it to display multiple images.
Thanks again for the great extensions & support!
rick.prince - What version of PHP are you running? Do you mean safe mode is not enabled?
Dane Thomas - Check out the syntax here: http://docs.markhuot.com/ee/extensions/file/#tags. You’ll be using the {[custom_field]}{/[custom_field]} pair, with the variables listed on the docs page in between.
I’ve removed the settings page because I thought it just confused the features. There was always the ability to set parameters within the individual upload location, and the EXT settings overrode those. While this was handy for some people, I think it confused more people than it helped. It also made the code for the extension quite messy. So, I’ve ditched the global EXT settings all together. The functionality is still there, you just need to set it in each upload location individually now.
is it going to be added back? Using it for mp3 files, I tried adding rel=”enclosure” to post file formatting? didn’t work. Also don’t see any multiple upload options… Use a previous version or will this be added.? Is there a way to add the rel tags? Thanks! great extension and very handy .
Not sure about the rel=”enclosure” option but if you use:
allow_multiple=yes
in the Image Properties section it enables the multiple uploads. I had a bit of trouble working this out but just follow the optional parameters from the docs and put whatever you need in the image properties section (stringing them together).
Have you tried putting rel=”enclosure” in the file post formating options? There are seperate post/pre formatting options for both file and images.
I’m still running 2.1.0 and would like to know if this version will support different options for different uploads? I ask because I want to keep the file size on the uploaded JPGs to a decent size but want to allow a lot larger file sizes for mp3’s that will be uploaded. I would assume I’d just set two custom fields but where do I enter the settings (e.g. file size limit) for them?
Thanks, Mark, this extension has become just as valuable to us as EE!!
You can set up different upload directories with different settings. So in your case you can have an MP3 upload folder as well as an image upload folder - each specifying different settings.
I guess the confusion with this new version integrates itself into the upload settings in the general EE admin preferences.
Once you have the two paths setup you just add ‘file’ as the custom field and then select the mp3 upload path for the mp3 files and the image path for images.
rick.prince - Thanks Rick. I’ll look into this and see what’s up. There’s probably some optimization I can do in the back end to ensure support on a shared server (which I assume you’re running on?).
Bruce2005 - The global extension settings will probably not be added back. However I will be looking to update the File Upload preferences to make them a lot easier to use (since they serve the same purpose). Dane nails it, to get multiple downloads just drop allow_multiple=yes into your Image Properties.
Finally, to add a rel=”…” just alter your template tags to be something like this:
{[custom_field]}
{file_url}
{/[custom_field]}
This allows you to have per-field formatting, as well as conditional based tags, so you could, for example check the file name (in php) and output the proper rel depending on the type of file.
svh1 - You can set up separate Upload Locations for each field, meaning you could have different settings for each field. As for setting the file size limit, within each Upload Location you can set the Maximum File Size (in bytes)
which will limit what’s uploaded to each field.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.