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

James Smith's avatar
James Smith
259 posts
16 years ago
James Smith's avatar James Smith

Wow, a pair of fantastic extensions - well done both!

I’m having an issue that’s really hard to track down - hopefully someone can help me!

I’m using the File field inside a FF Matrix inside a SAEF. I’m also using the Logmein plugin to allow anonymous uploads. It works fine in Firefox and Opera, but not in IE8. This initially made me think it must be a cookies and caching issue, but no amount of clearing the IE cache and deleting cookies or restarting the browser makes a difference. The files never upload, though other submitted fields are successfully being recorded. Clearing all caches and cookies in Opera and Firefox both work fine.

Any ideas? I’ve run out :-(

A quick update to this - I’ve tried removing the logmein plugin and using the SAEF while logged in as superadmin, but the problem is still the same, so it may suggest that logmein is not the problem.

       
bobh's avatar
bobh
145 posts
16 years ago
bobh's avatar bobh

Hey Fred, is there a way to use the nGen file field as a standalone upload tool which can be embedded in templates? I have some contributors who are sending me files via upload services and I’d like the to be able to upload their stuff on our own server, via the front-end.

Consider this a feature request 😊

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

@bobh If I’m understanding what you want correctly you should be able to use a SAEF. If you’re not familiar with them here’s a link to the EE docs. Also here’s more info on using FieldFrame in SAEF.

       
James Smith's avatar
James Smith
259 posts
16 years ago
James Smith's avatar James Smith

… That’s what I’ve managed to do, though it doesn’t work for me in IE 7 or 8 :-(

       
bobh's avatar
bobh
145 posts
16 years ago
bobh's avatar bobh
@bobh If I’m understanding what you want correctly you should be able to use a SAEF. If you’re not familiar with them here’s a link to the EE docs. Also here’s more info on using FieldFrame in SAEF.

Oh, I thought using a SEAF meant having to post a weblog entry each time an upload needed to be done. I’ll check it out right away, thanks Fred.

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

@bobh A SAEF is like adding an entry in the CP. If you just want to upload an unrelated file to your server that’s pretty much outside of EE. You can just use PHP code to do that. The File field type is designed to function within the EE realm, not as a stand alone tool outside of EE. There are plenty of PHP scripts out there for file upload/management.

       
bobh's avatar
bobh
145 posts
16 years ago
bobh's avatar bobh

Well, I guess I’m looking for an easy EE plugin/extension to handle it for me 😉

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

Hey Bobh,

You could use a Freeform form in the site which allows people to upload a file to the server.

It will also email you with the attachment but I guess you could remove this feature and make it db only.

       
bobh's avatar
bobh
145 posts
16 years ago
bobh's avatar bobh

Aha, thanks Steven, I’ll give it a go!

       
James Smith's avatar
James Smith
259 posts
16 years ago
James Smith's avatar James Smith

Many thanks again Fred for fixing the IE bug. I can confirm that your fix works in IE8 as well as IE7. My SAEF also works with the logmein plugin to allow anonymous uploads… hooray!

Now to address the security issues…

PS, Fred do you or nGen have a Paypal donations account? I couldn’t find any links anywhere

       
Bluestrike2's avatar
Bluestrike2
39 posts
16 years ago
Bluestrike2's avatar Bluestrike2

Bit of a confusing and urgent error.

Whenever I upload files with nGen File Field, and try to use the {fieldname} within my EE templates, I get the file name appended to the end of my URL, instead of the actual link per the upload settings. I’ve looked through the thread, and perhaps I’ve missed something, but any thoughts?

A quick and dirty workaround I’m using is to append the path to the anchor tag, ala src=”images/uploads/articles/thumbnails/{thumbnail}” – which works fine. But it’s not preferable for various reasons. Nevermind; the quick and dirty workaround is rubbish. The field is taking the current URL, whatever the page, and just tacking the thumbnail image’s filename onto the end of it :(

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
16 years ago
Sean C. Smith's avatar Sean C. Smith

My issue automagically corrected itself. have deleted post.

       
Jack McDade's avatar
Jack McDade
425 posts
16 years ago
Jack McDade's avatar Jack McDade

Just ran into an issue that could use better error reporting, if possible. If i set the upload directory to one that is invalid, the Publish page simply doesn’t render. It was a little bit of sleuthing to figure out that this was the problem – i would have expected to see problems on actual upload but not simply on the publish page. Just thought it might help the User Experience to report such things in error message.

Otherwise, works great. Thanks!

       
Dan Lovejoy's avatar
Dan Lovejoy
115 posts
16 years ago
Dan Lovejoy's avatar Dan Lovejoy

I’m not able to make it work. I’m getting a JS error in FireFox and Safari:

It looks like some dependency isn’t loading, but I can’t imagine what it is. Obviously, the nGen file is loading.

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

@Jack McDade : Thanks for the feedback. You should see this in the next release.

       
First 16 17 18 19 20 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.