Hi,
I have a single entry page with a comment form and the comment entries tag to display the comments. I have it adding and showing comments but the url field is not being captured or displayed on the front-end.
I have the following blocks of code for this:
The comment form:
{exp:comment:form form_class="generic-form comment-form"}
<div class="frow frow-text"><label for="comment-name">Name <span class="required">*</span></label><div class="capture-container"><input type="text" id="comment-name" class="text" name="name" value="{name}" /></div></div>
<div class="frow frow-text"><label for="comment-email">Email Address <span class="required">*</span></label><div class="capture-container"><input type="text" id="comment-email" class="text" name="email" value="{email}" /></div></div>
<div class="frow frow-text"><label for="comment-url">URL <span class="required">*</span></label><div class="capture-container"><input type="text" name="url" value="{url}" id="comment-url" /></div></div>
<div class="frow frow-textarea"><label for="comment-comment">Comment</label><div class="capture-container"><textarea id="comment-comment" rows="10" cols="30" name="comment">{comment}</textarea></div></div>
<div class="frow frow-action"><input type="submit" value="Post comment →"></div>
{/exp:comment:form}To show comments:
{exp:comment:entries}
<div class="entry-comment group">
<div class="comment-meta group">
<h3>{name}</h3>
<p> <a href="http://{url}">Website</a><br />
</div><br />
<div class="the-comment group"><br />
{comment}<br />
</div><br />
{exp:gravatar email=<br />
</div><br />
{/exp:comment:entries}
The following is an outputted comment:
<div class="entry-comment group">
<div class="comment-meta group">
<h3>Paul:</h3>
<p> <a href="http://">Website</a> Paul<br />
</div><br />
<div class="the-comment group"><br />
jdkjdkjd<br />
</div><br />
<a href="http://www.gravatar.com/avatar/c48e0e441c71287b1e9061515d2466df?s=60&d=http://airfront.co.uk/img/global/default-avatar.png">http://www.gravatar.com/avatar/c48e0e441c71287b1e9061515d2466df?s=60&d=http://airfront.co.uk/img/global/default-avatar.png</a><br />
</div>Please see the attached screenshot, should there be a column showing any comment author urls?
I’ve read the user guide but believe I’m doing everything it tells me to. I’ve ran out of ideas. :(