We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File

Development and Programming

Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Hopefully you should be pleasantly surprised when removing then re-choosing a file 😉

Works for me anyway.

Best wishes,

Mark

       
kevincannon's avatar
kevincannon
22 posts
16 years ago
kevincannon's avatar kevincannon
Is there a setting I’m missing? Everything else works fine.
Are you seeing the settings listed here: http://docs.markhuot.com/ee/extensions/file/ There’s a glitch in the extension where those settings can be hidden sometimes, and you have to set them via the database. Where are you setting auto?

Hey there. I could see the settings, but any changes just wouldn’t be remembered. I disabled and re-enabled the extension and seems to work now. odd.

       
grantmx's avatar
grantmx
1,439 posts
16 years ago
grantmx's avatar grantmx

“Mine eyes have seen the glory….”

Thanks dude, I totally bypassed that silly little drop down box. D’oh! :shut:

— edit —-

Realized that when you change the file type to file for a new custom field, the right side area thingy doesn’t change automagically to choose an upload location. Hence why I missed it. Can this be modified?

       
tantau's avatar
tantau
35 posts
16 years ago
tantau's avatar tantau

Go to the custom field group and make sure that you choose the correct file upload location in custom field settings. It’s next to the “file” dropdown list.

       
grantmx's avatar
grantmx
1,439 posts
16 years ago
grantmx's avatar grantmx

That wasn’t my question, but thanks anyway.

       
Tyssen's avatar
Tyssen
756 posts
16 years ago
Tyssen's avatar Tyssen
If it is indeed in the same entry then no problem just go ahead and click on the remove check-box and then choose the new (same-named) image and everything should be fine.

No, it wasn’t working out like that for me. That’s what I was doing and was getting the message about trying to upload an image with the same name. Anyway, not too worried about it as long as it can be done in one or two edits.

       
Deron Sizemore's avatar
Deron Sizemore
1,033 posts
16 years ago
Deron Sizemore's avatar Deron Sizemore
No problem. I use a conditional with File in my templates all the time. If your FIle custom field is named imageUpload, you can do:
{if imageUpload != ""}{imageUpload}{file_thumb_url}{/imageUpload}{/if}
One piece of advice: don’t use if:else with them, only simple {if}{/if} conditionals (you can use {if imageUpload != ""}foo{/if}{if imageUpload == ""}bar{if}). I’ve seen weirdness when using the advanced conditionals with it.

Matt,

The more I thought about this the more I’m not sure about it. It makes perfect sense what you’re saying, but this would require me to create an additional custom field and it’s type would be “file.” I would hate to have one custom field “file” type and then a second custom field (the one I created originally for the image) just sitting there no longer doing anything.

For my site, having two fields isn’t a big deal at all because I’m familiar with EE but this situation came up on another site too (the business I work for) and they could really benefit from the file extension but I really think having two fields in the publish page might get confusing for the users that will be updating the site. Might have to get someone to do some work with the MySQL database like your first suggestion. 😉

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

Yes, that is certainly one downside to the suggestion.

You could set the old field to hidden, though, and move it all the way to the bottom of the publish screen. I often do that with deprecated or older fields that aren’t used anymore, but I still need data from.

       
Deron Sizemore's avatar
Deron Sizemore
1,033 posts
16 years ago
Deron Sizemore's avatar Deron Sizemore

Yeah, that might be the best solution. Thanks for the info. 😉

       
outline4's avatar
outline4
271 posts
16 years ago
outline4's avatar outline4

just a quick question (not wanting to read 35 pages of this post): is it possible to add information to the uploaded images (I’m using it in multiple upload mode)? like image titles and image descriptions? would be something like custom file fields?

and a feature request: * make them sortable 😉

cheers stefan

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg

Outline4– there’s no way currently, but I posted a workaround using php and a text entry field a few pages back.

       
mode's avatar
mode
1 posts
16 years ago
mode's avatar mode

I am currently using 1.0 in conjunction with the File Manager module for a client. I have been u sing File as a header image uploader while using the normal file uploading capabilities for summary and body text. I quickly noticed that my Header Image directory is available to the File Upload. This is only a slight problem.

My biggest concern is that the File Upload allows you to “select field” which has the custom_field as an option in the dropdown. While bug testing I inserted an image into the custom_field (file) which went through with no problems. Now I’m seeing a mix-mash of broken javascript due to the insert.

Is there any way to limit the fields dropdown to exclude the custom file fields? Has anybody else experienced a similar issue and found a solution? Thanks in advance.

       
sonnenvogel's avatar
sonnenvogel
17 posts
16 years ago
sonnenvogel's avatar sonnenvogel

Hello,

i’m using extension version 3.1.1 and getting a

Notice: Undefined offset: 0 in /kunden/211569_41751/ee/eeengine/extensions/ext.mh_file_ext.php on line 426

when i try to edit file upload preferences or try to create a new file upload directory.

Also all file extension related preferences are invisible. Any idea?

Kind regards, Axel

       
hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

Hello,

I’m using version 3.1.1.

Just recently I encountered what seemed a completely unrelated problem having to do with my inability to access a custom field groups fields in order to edit from the Control Panel.

When I select “Add/Edit…” a blank page loads. With error reporting enabled I get no errors written to the blank page.

Strangely enough, changing the field group name from “team_info” to “team_information” seemed to eliminate the problem.

I did go thru an elimination process to see if any of the extensions I have enabled might be to blame. It seems that the problem goes away when I disable this extension.

I’m not at all sure what going on here but I’m concerned that this might be causing trouble that’s not readily visible.

       
outline4's avatar
outline4
271 posts
16 years ago
outline4's avatar outline4
Outline4– there’s no way currently, but I posted a workaround using php and a text entry field a few pages back.

hi thanks, for the moment I’m fine as it works, but I’d have two feature request:

  • custom file fields (like title and description)
  • sortable (like playa)

otherwise I’m very pleased with this extension! cheers stefan

       
First 40 41 42 43 44 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.