Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2013-01-15 11:59:01

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

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>

viele Grüße
SuMu

Psychomuell + blogZicke

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

#4 2013-01-16 06:00:24

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

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 :-)


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

Board footer

Powered by FluxBB