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.

Is there a way to allow or not allow comments in the Channel form?

September 07, 2014 3:15pm

Subscribe [2]
  • #1 / Sep 07, 2014 3:15pm

    exida

    3 posts

    This code is not working.

    <Allow Comments? <input type="checkbox" name="allow_comments" value="y" {allow_comments} /> Yes

    Am I missing something?

  • #2 / Sep 08, 2014 2:14pm

    Rob Allen

    3118 posts

    Have you got comments enabled in the Channel settings?

    The allow_comments parameter suggests the value should be allow_comment=“yes” - https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_form/index.html#allow-comments - however the raw tag

    {allow_comments}

    outputs checked =“checked” for me so it may not (easily) be available as an editable value.

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

ExpressionEngine News!

#eecms, #events, #releases