ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Safecracker file field 2.1.3

June 21, 2011 12:57pm

Subscribe [3]
  • #1 / Jun 21, 2011 12:57pm

    RoryMC

    4 posts

    I’m trying to add some simple functionality to my site using safecracker.

    I want to use the {field:custom_field} for an image upload

    From what I gather I need the file upload fieldtype for that to work with safecracker.

    It devot-ee directs me to the EE site where it says it’s(the fieldtype) included in the download under the name of safecracker_file or something similar. It isn’t. It’s only included in the beta (which I won’t use for clients).

    I’m just testing it using a simple form on 2.1.3 with the safecracker download.

    The fieldtype for uploaded_image is set to file (as I don’t see an option for safecracker file as people have been saying to choose)

    {exp:safecracker channel="uploaded_images" return="home/thanks" }
    <label for="name">Name:<input name="title" type="text" /></label> 
    {field:uploaded_image}     
    <input type="submit" value="Submit" class="submit" />
    {/exp:safecracker}

    I get the ‘add file’ button, but when I click on it nothing happens.

    I made this post in a bit of a rush so if you need any info, let me know.

    Any ideas?

  • #2 / Jun 21, 2011 2:57pm

    vosSavant

    380 posts

    If you go here you can grab Safecracker—you need to be logged in since that link will direct you to your downloads area. I believe you’ll need to have purchased a copy of EE to be able to download Safecracker (maybe not…either way, there is a “Free Downloads” area in your downloads area that has a link to Safecracker).

    Once you’ve downloaded Safecracker, the File fieldtype is in the zip file under:

    Safecracker 2.0.0 > system > expressionengine > third_party

    Documentation on how to use that field type in your forms is included in the download in the user_guide folder. Once you activate the Safecracker File fieldtype it should work for you.

  • #3 / Jun 21, 2011 9:31pm

    RoryMC

    4 posts

    Dude, thank you.

    I was thinking the link wasn’t working or something. I was signed in on another account.

    Signing in with my account that has commercial licences shows the download.

  • #4 / Jun 22, 2011 5:03am

    John Henry Donovan

    12339 posts

    RoryMC,

    Did that fix your original issue or do you still require assistance with it?

  • #5 / Jun 22, 2011 6:05am

    RoryMC

    4 posts

    No that’s cool, it works fine.

  • #6 / Jun 22, 2011 10:59am

    Sue Crocker

    26054 posts

    Glad things are working for you again. If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases