Hi there,
Just want to make sure I’m not missing something new in EE 2.1.1, but I’m just building a blog and the comment feature is not working. Upon clicking submit, nothing is submitted and I am just taken back to the homepage. Here is my template code:
{embed=embeds/header}
<div class="main">
{exp:channel:entries channel="blog" limit="1" disable="member_data"}
<h1>{title}</h1>
{entry_date format="%F %j, %Y"}
{intro}
{content}
{/exp:channel:entries}
<div class="comment_area">
{exp:comment:entries channel="blog"}
{if {count} == '1'}
<h2>Commments</h2>
<p> {/if}<br />
<br />
<div class="comment{if {author_id} == '3'} author_comment{/if}"><br />
{comment}<br />
{url_as_author} | {comment_date format="%F %j, %Y <span>at</span> %h:%i %A"}<br />
</div><br />
{/exp:comment:entries}<br />
<br />
{exp:comment:form channel="blog"}<br />
</p><h2>Post a Comment</h2>
<p> <br />
{if logged_out}<br />
<br />
Please enter your information below to share your thoughts. Please be nice.<br />
<br />
<br />
<label for="name">Name</label> <span class="alert">(Required)</span></p>
<p> <input type="text" name="name" id="name" value="{name}" /><br />
<br />
<br />
<br />
<label for="email">Email Address</label> <span class="alert">(Required, will not be published)</span></p>
<p> <input type="text" name="email" id="email" value="{email}" /><br />
<br />
<br />
<br />
<label for="url">Website URL</label> (Optional)</p>
<p> <input type="text" name="url" id="url" value="{url}" /><br />
<br />
{/if}<br />
<br />
<br />
<label for="comment">Your Comment</label></p>
<p> <textarea name="comment" id="comment" cols="50" rows="10">{comment}</textarea><br />
<br />
<br />
<br />
<input class="checkbox" type="checkbox" name="save_info" value="yes" {save_info} /> Remember me?</p>
<p> <input class="checkbox" type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?<br />
<br />
<br />
{if captcha}<br />
<div class="captcha"><br />
Please enter the word you see in the image below:</p>
<p> {captcha} <input type="text" name="captcha" value="{captcha_word}" maxlength="20" /></p><br />
</div><br />
{/if}<br />
<br />
<input type="submit" name="submit" value="Submit" class="button" /></p><br />
{/exp:comment:form}<br />
</div><br />
</div></p>
<p>{embed=embeds/sidebar}</p>
<p>{embed=embeds/footer}And here is the live page: http://www.weclimbforkids.com/blog/article/sample_blog_post_2
Am I just missing something stupid?