Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
moving comments preview?
HI there,
I want to move an element of my comments page. I currently have the comments form and the comments appearing in a div to the right of the full article. When a comment is made and the user clicks preview the form and the comment move back to the left div with the comment and the form above the article. Also if the user makes an error it shows up in the left div above the article.
Is there:
1. Any way to mve the comments preview bit to the right hand div so when a user clicks preview everything happens in that right div? Also the same goes for the comment error?
or:
2. Remove that repview box and just have it straight to submit
Thanks
Offline
Re: moving comments preview?
- Turn comments auto append off (Admin Prefs)
- Call the comment form in your article form with
txp:output_form form="comments_display" - Use if_comments_preview
- Customizing comment previews
Last edited by deldindesign (2006-08-23 18:28:16)
Offline
Re: moving comments preview?
HI there,
Thanks i got that working really well. After pressing preview i get the comment and the next form with submit in the div i want.
The problem is that under the comment it says form comments preview does not exist. I know it doesnt becuase ive havent created it. All seems to be working well without it and im a bit confused about what i need to do?
Any suggestions?
( also whilst on topic anyone know how to automatically make the form forget details you’ve put in before?)
Offline
#4 2006-08-25 04:56:14
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: moving comments preview?
Just use the form “comments” for the comments_preview tag. That’s the form it uses if you don’t specify one.
Offline
Pages: 1