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

New Extension: nGen File Field for FieldFrame

Development and Programming

smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill
I’m having MSM issues with the thumbnails and links. I can access the images from the dropdown, but the image paths of site 2 are using the site path from site 1. They’re on different subdomains. Edit: I set up a masked control panel page on the same subdomain and that resolved the issue.

Actually, it didn’t fully resolve the issue. If the masked CP page is on site2 (where the files are local) it works. If the CP is accessed from site1 the links to the file and thumbnails are broken because it’s on a different subdirectory and the paths are being interpreted as local.

       
Jason Morehead's avatar
Jason Morehead
454 posts
16 years ago
Jason Morehead's avatar Jason Morehead

I think I figured out what was going on with the issue that I mentioned earlier. I was trying to submit the form without filling out all of the required fields. I added an entry with all of the required fields filled out, everything worked just fine. However, if I tried adding an entry without all of the required fields filled out, I got the error that I mentioned earlier.

That being said, even though I know what’s causing it, it’d be nice if the CP still returned the normal error messages, and not those nasty looking PHP errors.

       
Tyssen's avatar
Tyssen
756 posts
16 years ago
Tyssen's avatar Tyssen

Turns out I’d forgotten to update the language file. :red:

       
Ryan Blaind's avatar
Ryan Blaind
168 posts
16 years ago
Ryan Blaind's avatar Ryan Blaind

I am having an issue with nGen file fieldtype on a page that I am using a SAEF. Actually the SAEF is just a simple form with 4 text fields, that actually does not make use of any Fieldframe Fieldtypes or nGen file field at all. It’s a really odd situation actually.

So it’s just a simple FAQ template that lists out all of the entries, and at the top a simple SAEF to submit a new question. However in the rendered source of the page I see that Fieldframe is adding a ton of inline css, even though none of my SAEF fields use fieldframe. No biggie, but not as clean as I’d like it to be.

However, in my sidebar template that gets embedded after the SAEF tag, I am calling another entries loop for another section called case-studies. Case studies makes use of the nGen file fieldtype to upload a simple image for the case study. When I load the page the image doesn’t show up in the output. I turned on template debugging and I see that inside my imgsizer plugin code its actually outputting the entry form code for the nGen file fieldtype, treating it as if it were a part of an SAEF or inside the CP.

Not sure where to begin on this one. I have attached a screenshot of the template debugging so you can see what I mean. Hopefully I explained this well enough.

       
silenz's avatar
silenz
1,648 posts
16 years ago
silenz's avatar silenz

I seem to have an issue with nGen File 0.9.7 in conjunction with FF Matrix.

When I add additional rows in the matrix the file upload selector does not show up except in the initial row (see screenshot).

If I choose another Celltype than nGen File it works as expected. Before I updated FF + nGen File this was working fine.

Anyone else experiencing this?

FieldFrame 1.1.2 FF Matrix 1.1.2 nGen File Field 0.9.7 EE 1.6.7 Build: 20090320 jQuery 1.3.2 jQuery UI 1.7.1

       
Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson

Same problem here (see attached image). Seems whatever is in the first column doesn’t get displayed.

Also, file upload works great in the CP but no go in a SAEF. Have tried nGen as both a field in a FF Matrix and just as a Field Type on a regular custom field. As part of a FF Matrix, it does show up as in the attached image. As a custom field type, only the Field Label shows up. No file selector.

Versions: FF 1.1.2 FF Matrix 1.1.2 nGen File Field 0.9.7 EE: 1.6.7, Build: 20090320 and jQuery 1.3.2 jQuery UI 1.7.1

This is going to be truly amazing when it works with a SAEF and I’ll be happy to pay a per/site purchase fee for both FF and nGen File.

       
silenz's avatar
silenz
1,648 posts
16 years ago
silenz's avatar silenz

The culprit for this problem has been identified by Fred Boyle via PM.

It turned out that any invalid filenames (containing special chars) that exist in the specified upload-directory lead to this behaviour.

       
Fred Boyle's avatar
Fred Boyle
73 posts
16 years ago
Fred Boyle's avatar Fred Boyle

New release! Adds SAEF compatibility and a few other bug fixes.

Download v0.9.8 + Documentation: http://www.ngenworks.com/software/ee/ngen-file-field/

       
bluesonora's avatar
bluesonora
90 posts
16 years ago
bluesonora's avatar bluesonora
New release! Adds SAEF compatibility and a few other bug fixes. Download v0.9.8 + Documentation: http://www.ngenworks.com/software/ee/ngen-file-field/

AAAAAAAAAHHH!!! thank you. i was ripping my hair out yesterday why my images weren’t uploading in ff matrix. just installed this, and voila.

       
Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson

I’m prolly missing something ‘cause it’s still early here in Hawaii and I haven’t had coffee yet. But…

  • File on download page still lists it as version 0.9.7
  • Downloaded it anyway and installed on local dev site but still shows up as v0.9.7 in CP
  • Disabled it. Moved over another copy. Enabled it. Still shows as 0.9.7
  • Added it to a new FF Matrix field. Still has same problem as previously reported above PLUS
  • On Submit, now reports an error instead of submitting the SAEF: An error of an unknown type was encountered.

Wonder what you’re doing different, LIttleRed?

       
Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson
The culprit for this problem has been identified by Fred Boyle via PM. It turned out that any invalid filenames (containing special chars) that exist in the specified upload-directory lead to this behaviour.

I don’t have ANY files in my specified upload directory and still having that problem this morning…?

       
Todd D.'s avatar
Todd D.
460 posts
16 years ago
Todd D.'s avatar Todd D.
I’m prolly missing something ‘cause it’s still early here in Hawaii and I haven’t had coffee yet. But… - File on download page still lists it as version 0.9.7 - Downloaded it anyway and installed on local dev site but still shows up as v0.9.7 in CP - Disabled it. Moved over another copy. Enabled it. Still shows as 0.9.7 - Added it to a new FF Matrix field. Still has same problem as previously reported above PLUS - On Submit, now reports an error instead of submitting the SAEF: An error of an unknown type was encountered. Wonder what you’re doing different, LIttleRed?

Shane, you might try reinstalling and make sure to upload all files and folders. The fact its’ telling you your still using 0.9.7 makes me think the upgrade process was not done completely. The new version should definitely say 0.9.8.

       
Shane Robinson's avatar
Shane Robinson
55 posts
16 years ago
Shane Robinson's avatar Shane Robinson
Shane, you might try reinstalling and make sure to upload all files and folders. The fact its’ telling you your still using 0.9.7 makes me think the upgrade process was not done completely. The new version should definitely say 0.9.8.

Thanks for the ideas, Todd. Actually, Fred DM’d me that it might be my browser caching his page and indeed it was. If people are still seeing 0.9.7, either clear your browser cache or force a reload of his page.

Also, Leevi’s SAEF File Upload and nGen’s File Field are NOT compatible. If you have Leevi’s File Upload configured on your SAEF and add nGen’s to a FF Matrix, the SAEF will fail on submission and report: “An error of an unknown type was encountered.”

Once I got rid of Leevi’s code, the nGen File Field in a FF Matrix DID WORK!! But still having the same problems as reported above in that the first column content disappears when adding a new row

       
bluesonora's avatar
bluesonora
90 posts
16 years ago
bluesonora's avatar bluesonora

shane, i don’t think i was having all the same probs you were having - i’m not using saef i was just having upload probs. i tried traversing/deleting/recreating/setting permissions on folders but that still didn’t work (which often does, go figure). but just putting in the new nGen FF this a.m. did the trick. i hope you get everything to work. i KILLED beyond dead tinymce trying to get tinybrowser in there yesterday - i’m not touching that for the moment, haha, i got things to work good enough by tweaking the thumbnail size in the ngen extension file and dragging it into the tinymce field and putting some fancy css/highslide on them. 😉

       
budparr's avatar
budparr
128 posts
16 years ago
budparr's avatar budparr

FieldFrame 1.1.2 nGen File Field 0.9.8 ee1.6.7 20090515

Upon making a new entry I get the following EE error “There was no category provided. Please go back and provide a category.”

I’ve narrowed it down to when I use nGen File Field within FieldFrame Matrix Fieldtype. Using nGen File Field on its own (outside of the FFMatrix) doesn’t cause the problem.

I’ve tried changing upload directories and testing for any other variable to pinpoint the cause. EE creates the entry anyway, but I get the same error if I try to update again. I only get the error on “update” not on quick save. It doesn’t matter if I’ve used the field or not.

Gfive(tm) seems to be having this problem too.

       
First 14 15 16 17 18 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.