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.

SAEF IE Bug

August 30, 2007 3:46pm

Subscribe [1]
  • #1 / Aug 30, 2007 3:46pm

    Greg Aker

    6022 posts

    Hello,

    I have yet another reason for my list as to why I LOVE M$  =)

    i have a SAEF that has been tested & works in Firefox & Safari, tried it in IE 7, and when you submit the form, nothing shows up.  it’s blank!

    Anyone dealt with this?

    Here’s my code:

    {exp:weblog:entry_form weblog="{my_weblog}" return="blog/index" preview="blog/blogEntry"}
    
    {preview}
    <div class="entry">
    <h1>Blog Entry Preview</h1>
    <h2>{title}</h2>
    <p>{display_custom_fields}<br />
    </div><br />
    {/preview}</p>
    
    <p><div class="entry"><br />
    <table><br />
    <tr></p>
    
    <p><td><br />
    <span class="alert">*</span>Required Field</p>
    
    
    
    <p><span class="alert">*</span>Title:</p>
    
    <p><input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle();" /></p>
    
    <p><br />
    URL Title:</p>
    
    <p><input type="text" name="url_title" id='url_title' value="{url_title}" maxlength="75" size="50" /><br />
    <strong>Add Text Styles:<br />
    {formatting_buttons}</p>
    
    <p>{if member_group == 8 OR member_group == 1}</p>
    
    <p> | {/if}</p>
    
    <p><br />
    <span class="alert">*</span>Summary:</p>
    
    <p><textarea id="field_id_1" name="field_id_1" dir="ltr" cols="50" rows="6" onclick="setFieldName(this.name)"></textarea></p>
    
    <p> </p>
    
    <p>Body:</p>
    
    <p><textarea id="field_id_2" name="field_id_2" dir="ltr" cols="50" rows="10" onclick="setFieldName(this.name)"></textarea></p>
    
    <p> </p>
    
    <p>Extended text:<br />
    <textarea id="field_id_3" name="field_id_3" dir="ltr" cols="50" rows="12" </p>
    
    <p>{if textinput}<br />
    <input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50" onclick="setFieldName(this.name)" /><br />
    {/if}</p>
    
    <p>{if pulldown}<br />
     <select id="{field_name}" name="{field_name}"><br />
    {options}<option value="{option_value}"{selected}>{option_name}</option>{/options}<br />
    </select><br />
    {/if}</p>
    
    <p>{if date}<br />
    <input type="text" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50" onclick="setFieldName(this.name)" /><br />
    {/if}</p>
    
    <p>{if relationship}<br />
    <select id="{field_name}" name="{field_name}"><br />
    {options}<option value="{option_value}"{selected}>{option_name}</option>{/options}<br />
    </select></p>
    
    <p>{/if}</p>
    
    <p></td><br />
    <td valign="top"></p>
    
    <p><input type="submit" name="submit" value="Submit" /><br />
    <input type="submit" name="preview" value="Preview" /></p>
    
    <p>{if member_group == 8 OR member_group == 1}<br />
    {status_menu}<br />
    Status</p>
    
    <p><select name="status"></p>
    
    <p>{select_options}<br />
    </select></p>
    
    <p>{/status_menu}<br />
    {/if}</p>
    
    <p>Date </p>
    
    <p><input type="text" name="entry_date" value="{entry_date}" maxlength="23" size="25" /></p>
    
    <p>{if member_group == 8 OR member_group == 1}<br />
    Expiration Date </p>
    
    <p><input type="text" name="expiration_date" value="{expiration_date}" maxlength="23" size="25" /><br />
    {/if}</p>
    
    <p>{if member_group == 8 OR member_group == 1}<br />
    Comment Expiration Date </p>
    
    <p><input type="text" name="comment_expiration_date" value="{comment_expiration_date}" maxlength="23" size="25" /><br />
    {/if}</p>
    
    <p>{if member_group == 8 OR member_group == 1}</p>
    
    <p><input type="checkbox" name="sticky" value="y" {sticky} /> Make Entry Sticky<br />
    <input type="checkbox" name="allow_comments" value="y" {allow_comments} /> Allow Comments<br />
    <input type="checkbox" name="allow_trackbacks" value="y" {allow_trackbacks} /> Allow Trackbacks<br />
    <input type='checkbox' name='dst_enabled' value='y' {dst_enabled} />DST Active on Date of Entry</p>
    
    <p>{ping_servers}<br />
    Ping Servers</p>
    
    <p>{ping_row}<br />
    <input type="checkbox" name="ping[]" value="{ping_value}" {ping_checked} /> {ping_server_name}</p>
    
    <p><br />
    {/ping_row}</p>
    
    <p>{/ping_servers}<br />
    {/if}</p>
    
    <p>{category_menu}<br />
    Categories</p>
    
    <p><select name="category[]" size="4" multiple="multiple"><br />
    {select_options}<br />
    </select></p>
    
    <p>{/category_menu}</p>
    
    <p></td><br />
    </tr><br />
    </table><br />
    </div><br />
    {/exp:weblog:entry_form}

  • #2 / Aug 30, 2007 3:49pm

    Lisa Wess

    20502 posts

    What version and build of EE are you on?  And are you testing this as a superadmin or another member?

    When you say blank, do you mean a blank white page, or your design with nothing in the content area?

  • #3 / Aug 30, 2007 4:09pm

    Greg Aker

    6022 posts

    EE 1.6, Build 20070726 I have tested as Superadmin & user groups allowed to post.

    Blank = my design with nothing in the content area.

    I load the page and there is not text, but the entry is ‘there.’  I go to the CP, look at the entry & no text is in the summary, body or extended fields.

  • #4 / Aug 30, 2007 4:11pm

    Lisa Wess

    20502 posts

    Ok, blank being your design with no content probably means not a PHP error, which would be blank white with nothing at all. =)

    Since it’s giving your design and nothing else, and working in Safari and Firefox, I would suspect a CSS issue.  Here’s a test you might perform -it’s a bit painful on the eyes, but… remove your CSS calls and submit the form and see if everything comes back in IE. =)

  • #5 / Aug 30, 2007 4:25pm

    Greg Aker

    6022 posts

    I just figured out what the problem is.  (feeling kind of dumb now)

    when you hit “PREVIEW POST,” the fields turn blank.  I just have the following at the top of the page: 

    {preview}
    <div class="entry">
    <h1>Blog Entry Preview</h1>
    <h2>{title}</h2>
    <p>{display_custom_fields}<br />
    </div><br />
    {/preview}

    How do I keep the text in the fields from going away when the user hits the PREVIEW button…just like on this page.

    Thank you very much for the quick responses.

    -greg

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

ExpressionEngine News!

#eecms, #events, #releases