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

Simple S3 Upload Extension now on EE2 (current version: 1.2.1)

Development and Programming

ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender

We just released our latest ExpressionEngine add-on. This add-on is similar to nGen File Field but offers a fair bit of control over your image resizing, thumbnail settings, and of course uploads the files to Amazon S3.

More information and complete documentation can be found at http://www.emarketsouth.com/add-ons/simple-s3-uploader/

The extension can be purchased through devot-ee.com

Edit: As of June 23 EE2 is supported. However, due to current limitations in EE2, third party fieldtypes cannot be easily used in SAEFs. We’re hoping that this limitation will be remedied but it is out of our control for the time being.

       
Ryan Faubion's avatar
Ryan Faubion
81 posts
15 years ago
Ryan Faubion's avatar Ryan Faubion

Congrats on the release. Any chance of EE2 support?

       
ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender
Congrats on the release. Any chance of EE2 support?

I’d say definitely, though I don’t know when exactly. If there was a lot of demand we might be convinced to get it up and running on EE2 sooner rather than later 😉

       
dibeja's avatar
dibeja
11 posts
15 years ago
dibeja's avatar dibeja

Hi and thanks for the extension. I’ve purchased it from devot-ee. I’m using fieldframe 1.4.2 and Bucketlist so far, but i was searching for something simplier.

When I choose utils->fieldtypes manager the page goes blank. I’ve tried switching off bucketlist but the problem is still here I’ve tried also to look out to find some php error, but i have no clue…

Could you help me?

Thank you in advance.

       
ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender

does your server run PHP 5 or PHP 4? this extension requires PHP 5.

       
Batdelfuego's avatar
Batdelfuego
45 posts
15 years ago
Batdelfuego's avatar Batdelfuego

This looks like a promising add-on! Just love the control… I’m getting mine and will test it out tonight!

Thanks Ender!

       
dibeja's avatar
dibeja
11 posts
15 years ago
dibeja's avatar dibeja

I’ve come to a solution. Removing bucketlist seems to work. I can see and configure the extension in Fiedtypes Manager now.

I’ve setup a weblog with the field and using the CP Publish form it’s just great. It doesen’t seems to work in SAEF: the form saves the entry but it doesn’t upload anything.

I’ve used it like this:

{exp:weblog:entry_form}
{name_of_the_field}
{/exp:weblog:entry_form}

Any clue?

Thanks again.

       
ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender

ah, I had forgotten to document one requirement of uploading files through a SAEF… sorry about that.

You’ll need an extension that modifies your SAEF form tag to include ‘enctype=”multipart/form-data”’.

the required extension is Simple SAEF Enctype and can be downloaded here

After installing this extension, simply add ‘enctype=”multi”’ to your weblog:entry_form tag.

for whatever it’s worth to everybody, here is some SAEF code that I used to test the fieldtype during development:

{exp:weblog:entry_form weblog="default_site" return="/" preview="/" enctype="multi"}
Title

<input type="text" name="title" id="title" value="new entry title" size="50" maxlength="100"></p>
URL Title

<input type="text" name="url_title" id='url_title' value="new_entry_url_title" maxlength="75" size="50" /></p>

<input type="hidden" name="entry_id" value="" />
<input type="hidden" name="entry_date" value="{current_time format='%Y-%m-%d %g:%i %A'}" />

Upload File
{simple_s3_field_name_goes_here}

<input type="submit" name="submit" value="Submit" />

{/exp:weblog:entry_form}
       
dibeja's avatar
dibeja
11 posts
15 years ago
dibeja's avatar dibeja

Now it works like a charm! 😊 Thank You.

       
Kim Ryu Hyun's avatar
Kim Ryu Hyun
65 posts
15 years ago
Kim Ryu Hyun's avatar Kim Ryu Hyun

Looks like a great extension! I was wondering if you could use Freeform instead of SAEF with this extension.

       
ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender

Freeform doesn’t interface with custom fields or other extensions, so I don’t see any way to accomplish this without requiring hacks.

As a followup to the EE 2 question earlier, I have ported most of this to the EE 2 fieldtype API, but there are a few bugs that are outside of our control. We will probably be waiting for EE 2.1 and next version of Matrix 2 to be made available before officially introducing the Simple S3 Uploader for EE 2.

       
agrublev's avatar
agrublev
15 posts
15 years ago
agrublev's avatar agrublev

Any chance you can help us use this with AJAX uploading 😊 I love the extension, but i wish my visitors could use ajax with the SAEF. Thanks in advance!

       
ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender

I’d recommend using the jQuery Form Plugin to submit your SAEF via AJAX, displaying whatever “please wait” thing is appropriate while it posts and using the callback function to do whatever you need to do after it is done. Beyond that I’m not sure of the specifics of your project, so I’m not sure what else to tell ya 😊

       
agrublev's avatar
agrublev
15 posts
15 years ago
agrublev's avatar agrublev

Well the jquery form plugin is great, unfortunately i need the user to get the link to their newly uploaded file. I purchased the SAEF Redirect extension from Solspace and that allows me to redirect them to the newly created post with their download link. So now i have the two pieces, i have the ajax submit working and i have the redirect… i somehow need to merge them so i can get that download link instantly 😊 Would really appreciate any suggestions :D

       
agrublev's avatar
agrublev
15 posts
15 years ago
agrublev's avatar agrublev

Nevermind, i went to the plugins site and read the documentation. It provides you with the response which contains the S3 download link and any other information i want! AWESOME! Thank you so much for the great plugin! This is really exciting! I have to write a tutorial about it soon.

       
1 2 3

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.