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

How to get Mark Huot’s File Extension to work with SAEF/Stand Alone Entry Form

Development and Programming

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

Normally I would. But for this particular site, FieldFrame/nGen won’t work. There will be multiple authors contributing content to this site, and I don’t want them to be able to view/edit/delete other authors’ images, which is what would happen with FieldFrame/nGen (due to nGen’s “use an existing file” option).

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

I’ve commented out that function on many sites to improve performance. It’s very very easy to disable.

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

Interesting. Could PM me some info about that. I never thought about modifying the function. However, would this affect all instances of the nGen file field, including those in the CP?

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

PM sent.

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

FYI, I think I got this working w/ FieldFrame and nGen File Field, thanks to some help from slapshotw.

       
nate@creativebyhamilton.com's avatar
[email protected]
119 posts
15 years ago
nate@creativebyhamilton.com's avatar [email protected]

How do you make the following code work for multiple weblog id’s?

ORIGINAL CODE(looking at the URI hidden field)
if (isset($options['hidden_fields']['URI']) && $options['hidden_fields']['URI']=='/post/images/')
   $options['enctype']='multi';
MY MOD (changing which hidden field to look at)
if (isset($options['hidden_fields']['weblog_id']) && $options['hidden_fields']['weblog_id']=='19')
   $options['enctype']='multi';
       
First 4 5 6

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.