Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-19 13:34:42

animoller
Member
Registered: 2004-04-19
Posts: 22

Weird problem with comments invite

My site has been working fine for at least a year and randomly a couple of days ago one of my tags is no longer working. I have my comments to display the comment invite if there are comments (followed by the number in brackets as per default) but if there are no comments to display Comments [0] (otherwise it would just display “Comments”).

Now suddenly the if_else tag isn’t linked to the comments invite. My code is thus:

<code><txp:if_comments><txp:comments_invite /><txp:else />· <img src=”/tpimgs/comment_off.gif” class=“imgComments” /> Comments [0]</txp:if_comments></code>

How do I make that link to the comments invite?

Last edited by animoller (2006-07-19 20:04:59)

Offline

#2 2006-07-19 16:28:45

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Weird problem with comments invite

Offline

#3 2006-07-19 20:32:00

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Weird problem with comments invite

animoller wrote:

How do I make that link to the comments invite?

<a href="<txp:permlink />#comment">Comments</a>.

Offline

#4 2006-07-20 04:27:04

animoller
Member
Registered: 2004-04-19
Posts: 22

Re: Weird problem with comments invite

Thanks!

Offline

Board footer

Powered by FluxBB