Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-27 22:24:42

kkobashi
Member
Registered: 2008-01-27
Posts: 51
Website

Comments preview wont show

Using 4.0.6, I’ve turned off automatic appending of comments.

Whenever I press the preview button, it goes to the default form instead of the comments_preview form.

I tried to force with the following:

<txp:if_comment_preview>
  <txp:comments_preview/>
</txp:if_comment_preview>

and that didnt work at all. It still goes to the default form.

Anyone got ideas?


Kerry Kobashi
Kobashi Computing

Offline

#2 2008-07-27 23:00:47

kkobashi
Member
Registered: 2008-01-27
Posts: 51
Website

Re: Comments preview wont show

Forget it guys. I solved it.

<txp:if_comment_preview>
  <txp:comments_preview form="comments_preview" />
</txp:if_comment_preview>

I thought that the comments_preview tag by default called up comments_preview.

But strangely, according to the documentation, the default form is comments. This doesn’t make sense to me. Why isn’t the default comments_preview since it is a form that cannot be removed from the system and already has a div tag wrapper around that says its the preview?

Last edited by kkobashi (2008-07-27 23:01:11)


Kerry Kobashi
Kobashi Computing

Offline

#3 2008-07-27 23:12:25

bobsr85
New Member
Registered: 2008-07-27
Posts: 4

Re: Comments preview wont show

Sorry…posted in wrong place. Can’t find where to place a NEW post.

Last edited by bobsr85 (2008-07-27 23:14:31)

Offline

#4 2008-07-28 00:18:25

kkobashi
Member
Registered: 2008-01-27
Posts: 51
Website

Re: Comments preview wont show

Choose your forum, then in the upper right hand corner, there is a “post new topic” link.

Last edited by kkobashi (2008-07-28 00:19:27)


Kerry Kobashi
Kobashi Computing

Offline

Board footer

Powered by FluxBB