Hello,
I am using the file field 1.0 on my SAEF. Quite simply it doesnt work. If I go into the back end and use it it works fine. Then when I go back to the SAEF and refresh I can see the image etc there. When I submit the SAEF it then deletes the field/image from my entry.
I am using EE 1.6.8
Here is a shortened version of the embedded SAEF (to edit existing entires):
{exp:weblog:entry_form weblog="restaurants" return="members/account"}
{exp:weblog:entries weblog="restaurants" dynamic="off" entry_id="{embed:id}"}
<input type="hidden" name="url_title" value="{url_title}" />
<input type="hidden" name="entry_id" value="{entry_id}" />
<input type="hidden" name="entry_date" value="{entry_date format="%Y-%m-%d %H:%i"}" />
<input type="hidden" name="dst_enabled" value="{dst_enabled}" />
{categories}
<input type="hidden" name="category[]" value="{category_id}" />
{/categories}
<!-- ============================
Basic Information
============================ -->
<fieldset class="weblog_entry">
<legend>Restaurant Information</legend>
<div class="row">
<div class="container">
<h2>Logo</h2>
{logo}
</div> <!-- End .container -->
<div class="container">
For best results your logo should be set at 72 dpi and should be no more than 200px high or 400px wide. We recommend jpg, gif or png file formats for best results.
</div> <!-- End .container -->
</div> <!-- End .row -->
</fieldset>
<input type="image" src="{site_url}images/submitButton.gif" class="submit" />
{/exp:weblog:entries}
{/exp:weblog:entry_form}This SAEF is embedded into a template:
{exp:weblog:entries weblog="restaurants" author_id="CURRENT_USER" limit="1" show_future_entries="yes"}
{if no_results}
<div class="notice">
It looks like you do not have your profile filled out. Your first step is to add information about your restaurant:
</div>
{exp:weblog:entry_form weblog="restaurants" return="members/account"}
<-- here is the SAEF for no entries -->
{/exp:weblog:entry_form}
{/if}
{embed=members/.embed-profile id="{entry_id}"} <!-- Here is the SAEF to edit an existing entry -->
{/exp:weblog:entries}Attached is a screen shot of the ngen file field settings. Any assistance would be greatly appreciated.
[Mod Edit: Moved to the Extensions forum]
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.