Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-05-09 14:46:47

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

comments_preview question

No doubt this has been addressed before… but I couldn’t find any discussion about it.

I’m using <txp:comments_preview form=“preview”/> to place and style previews.

However, preview text also appears above the <txp:comments_form /> I am using to display posted comments.

There is no call to this — it gets added automatically.

Offline

#2 2011-05-09 21:45:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: comments_preview question

Have you tried using smd_where_used to see if you’ve got another <txp:comments_preview /> tag somewhere?

Offline

#3 2011-05-09 21:58:29

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: comments_preview question

Cool plugin!

I have it in two forms:

comments_display
v3.commenti.modulo

The first one isn’t referenced from anywhere.

I’m getting the same behaviour on two sites, which means I’m doing something wrong.

For example: http://www.rome-rentals-co.com/blog/rome-rentals-consultancy/welcome-to-our-new-website/

The preview also appears just above where it says ‘Would you like to leave a comment?’

Thanks

Offline

#4 2011-05-10 07:30:27

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: comments_preview question

Have a look at this article on textpattern.com. Maybe you have a show_preview="1" attribute somewhere?

Offline

#5 2011-05-10 12:06:40

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: comments_preview question

show_preview=“1” did it – thanks!!

Offline

Board footer

Powered by FluxBB