Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-09 11:18:55

kukac7
New Member
From: Hungary, Eger
Registered: 2006-03-10
Posts: 7
Website

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

#3 2006-12-09 23:09:24

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

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

#4 2006-12-10 19:39:10

kukac7
New Member
From: Hungary, Eger
Registered: 2006-03-10
Posts: 7
Website

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

Board footer

Powered by FluxBB