Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
...fix an apparent problem with if_comments_allowed?
I’ve been tweaking a testbed site for a few hours and suddenly I can’t view individual articles. I’ve noticed, however, that I can still view articles that have comments disabled. Could this have something to do with if_comments_allowed?
The contents of my comments_display form (of type article) are below.
<txp:if_comments_allowed>
<h2 id="<txp:text item="comment" />"><txp:comments_invite textonly="1" showalways="1" showcount="0" /></h2>
<txp:comments />
<txp:if_comments_preview>
<div id="cpreview">
<ol class="comments">
<li>
<txp:comments_preview />
</div>
</li>
</ol>
</txp:if_comments_preview>
<txp:comments_form isize="25" msgcols="45" msgrows="10" />
</txp:if_comments_allowed>
Lumilux – A Photoblog
Offline
Re: ...fix an apparent problem with if_comments_allowed?
Can you post a tag trace?
Offline
Re: ...fix an apparent problem with if_comments_allowed?
try disabling/clearing the comment blacklist in your admin prefs
Offline
Re: ...fix an apparent problem with if_comments_allowed?
Thank you, iblastoff, that did it!
Nothing good has ever come from the blacklist…
Lumilux – A Photoblog
Offline