Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-02-22 18:33:00
- Darice
- New Member
- Registered: 2006-02-22
- Posts: 3
Custom tag error
I’m working on a template on a fresh and clean install of Textpattern 4.0.3, the latest release. I have the following code which I got from the tag index from the textbook:
<code>
<div class=“comment_balloon”> <p> <txp:comment_permlink><txp:comments_count /></txp:comment_permlink> </p> </div>
</code>
I’m pretty sure there isn’t any mistake in it but I keep getting the following error:
tag_error <txp:comment_permlink>
-> Warning: extract(): First argument should be an array on line 983
I Googled for a possible solution but I couldn’t get any lead on what the problem could be.
The only plugin I have is the live search, I uninstalled it to see if the error would disapear but that didn’t help.
Anyone has any idea what could be causing this error and a possible solution?
Offline
#2 2006-02-22 22:26:46
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Custom tag error
Looks like the comment_permlink tag is in the wrong place. It should be in your comments form.
Alex
Offline
#3 2006-02-23 09:43:15
- Darice
- New Member
- Registered: 2006-02-22
- Posts: 3
Re: Custom tag error
Help me here: I want to link to the comments made and the comment form. I’m not using the default way to show the comment invite. In my template design I have a comment balloon with in it the amount of comments made. That’s why I use <code><txp:comment_permlink></code>, to make the comment count a link the comments. It does work but alas I get that error.
Considering <code><txp:comment_permlink></code> links to the comments how can it be used in the comments form only?
Last edited by Darice (2006-02-23 09:43:48)
Offline
#4 2006-02-23 11:41:52
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Custom tag error
comment_permlink is a permanent link to an individual comment, not the comment list. You want to use the comments_invite tag.
Offline
#5 2006-02-23 12:07:33
- Darice
- New Member
- Registered: 2006-02-22
- Posts: 3
Re: Custom tag error
Oh all right, I get it now… thanks for the pointer.
Offline
Pages: 1