Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
Pages: 1