HotInk / hotink

Web-publishing application for Canadian University Press
http://hotink.net
MIT License
18 stars 3 forks source link

Comments Submit but are not Saved/Posted #28

Closed willwnet closed 13 years ago

willwnet commented 14 years ago

Hi Chris,

On the Fulcrum site the comments have stopped saving once submitted. This occurs on both Articles and Entries (Blog). Strangely this seems to have just happened, given that a comment was posted to the site earlier tonight.

Any idea why this might be? Code for Comments remains unchanged on my end since early August:

<a name="comments"></a>
{% if article.comments_enabled %}
 {% for comment in article.comments %}
  <div class="comment  {% cycle 'comment-odd', 'comment-even'%}">
    <div class="comment-meta">
       <span><strong>{{comment.name}}</strong></span> on 
       <span><a name="comment-{{comment.id}}">{{ comment.date | date: "%b %e, %G at %I:%M %p"}}</a></span><br/>
    </div>
    <div>{{ comment.body | strip_html | markdown}}</div>
  </div>
{% endfor %}

{% unless article.comments_locked %} 
  <h3>New Comment</h3>

{% commentform for article %}
  {{ form.inputs }} 

  <p>The Fulcrum reserves the right to edit or remove any comment that:</p>
  <ul>
    <li>is libelous, threatening, obscene, or constitutes hate speech </li>
    <li>directly and deliberately insults other posters</li>
    <li>is promotional or commercial in nature</li>
  </ul>

  <p>Furthermore, The Fulcrum reserves the right to reproduce the comment in the print edition of the newspaper.</p>

  <p>{{ form.submit_button }}</p>
{% endcommentform %} 

{% else %}

  <p>Comments are locked</p>
{% endunless %}

{% else %} 
  <p>Comments are disabled</p>
{% endif %}
chrisdinn commented 14 years ago

Not sure what's up here. I'll look into it tonight.

willwnet commented 13 years ago

Resolved.