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 entries not allowing comments

February 18, 2011 5:11pm

Subscribe [3]
  • #1 / Feb 18, 2011 5:11pm

    NederveldWeb

    2 posts

    When I try to add a post though my SAEF, everything works except that where the comment form should go, it says “Commenting is not available in this weblog entry.”

    I have confirmed that commenting is allowed in the weblog preferences, and that the comment expiration date is cleared.

    When I add an entry through the control panel, the comments work normally.

    Any ideas?

    I am using EE 1.6.8.

    Here is my code for the SAEF, in case it helps.

    {exp:weblog:entry_form weblog="blog" return="Admin/blog"}
    
    <table class="insert-teaching">
        <tr class="table-title">
            <td class="label">Title</td><td><input class="edit" type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>
    </td>
        </tr>
        
        <tr class="edit">
            <td class="label">Entry Date</td>
            <td><input class="edit" type="text" name="entry_date" value="{entry_date}" maxlength="23" size="25" /></td>
        </tr>
        
    
    {custom_fields}
    <tr class="edit">
    
    <td class="label">{field_label}</td>
    
    {if textarea}
    <td><textarea class="edit" id="{field_name}" name="{field_name}" dir="{text_direction}" cols="50" rows="{rows}" >{field_data}</textarea></td>
    {/if}
    </tr>
    {/custom_fields}
    
    <td class="label"><input type="checkbox" name="allow_comments" value="y" {allow_comments} /> Allow Comments?
    
    </table>
    <input type="image" src="http://www.wpbiblefellowship.org/images/submit_button.png" name="submit" value="Submit" />
    
    {/exp:weblog:entry_form}
  • #2 / Feb 20, 2011 1:07pm

    Greg Salt

    3988 posts

    Hi NederveldWeb,

    Welcome to the forums!

    If you edit an entry that has been submitted via SAEF on the Options tab, is the Allow Comments checkbox selected? And can you confirm that the ‘Allow Comments’ checkbox is being selected when an entry is submitted?

    Cheers

    Greg

  • #3 / Feb 21, 2011 10:50am

    NederveldWeb

    2 posts

    Thanks for the reply.

    Yes - When I edit the entry through the control panel edit tab, the “Allow Comments” box is checked. When I add the entry, “Allow Comments” is checked on the SAEF.

  • #4 / Feb 22, 2011 1:55am

    John Henry Donovan

    12339 posts

    NederveldWeb,

    Ok next thing recommended trying is to use the example from the docs in your template and see if that works for you

  • #5 / Feb 23, 2011 12:06pm

    NederveldWeb

    2 posts

    Yep, it works correctly now. I should have tried that. I’ll just work backwards to customize the code. Thanks.

  • #6 / Feb 23, 2011 2:54pm

    Ingmar

    29245 posts

    Glad to see you’re all set. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases