Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2013-01-15 10:55:52
- bashirnoori
- Member
- From: Afghanistan
- Registered: 2012-10-02
- Posts: 84
in article, don't show comment option when disabled
Hello to all,
Is it possible to don’t show the text: “comments , commenting is closed for this article.”
when the comment is disabled for an article
if comment is ON for any article, so that should show all options of comment.
Thanks
Offline
Re: in article, don't show comment option when disabled
Hi
<txp:if_comments_allowed>
<div class="kommentarlink"><txp:gho_comments_invite zero="Dein Kommentar dazu?!" one=" Kommentar" more=" Kommentare" /></div>
<txp:else />
</txp:if_comments_allowed>
Offline
#3 2013-01-16 05:46:37
- bashirnoori
- Member
- From: Afghanistan
- Registered: 2012-10-02
- Posts: 84
Re: in article, don't show comment option when disabled
HI,
I didn’t get your point dear !
I have added to : Forms —> Article —> Default
But nothing changed, could you please tell me where should I add that?
Thank you
Offline
Re: in article, don't show comment option when disabled
Hi
<txp:if_comments_allowed>
<txp:comments_invite />
</txp:if_comments_allowed>
This code should work für you. I hope it helps :-)
Offline