Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
comments preview error
hi!
i have promlem.
tag_error <txp:comments_form preview="1" /> -> Textpattern Notice: Unknown tag attribute: preview on line 582
my comments_display form:
@
<div class=“commentsblock”>
<txp:if_comments_preview>
<txp:comments_preview form=“comments_preview” />
<txp:comments_form preview=“1” />
<txp:else />
<txp:if_comments>
<h2><txp:comments_count /> Responses to “<txp:title />”</h2>
</txp:if_comments>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
<txp:else />
<p><txp:text item=“comments_closed” /></p>
</txp:if_comments_allowed>
</txp:if_comments_preview>
</div>
@
space of worry: http://blog.kukac7.hu
thank you for help!
Last edited by kukac7 (2006-12-09 11:19:49)
Offline
#2 2006-12-09 18:22:04
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: comments preview error
That’s because there is no attribute preview: txp:comments_form.
Offline
Re: comments preview error
There used to be, IIRC, in 4.0.2 and 4.0.3, but we have simplified the comment-stuff for various reasons, so that you do not need to add “preview=1” anymore, as that is the new default behaviour of the tag.
There is some more info at:
http://textpattern.com/faq/215/comment-input-form-changes
Offline
Re: comments preview error
sorry and thank you!
Offline
#5 2006-12-12 05:07:15
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: comments preview error
No need to be sorry. :)
Offline
Pages: 1