Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Editting layout of "#cpreview" page...
Hello all,
I’m well on my way to editing my textpattern-based website to how I like it, and I seem to have stumbled upon something.
I’d like to know how I would go about editing this page (basically the preview page for a comment).
Sorry if this has been answered before, I looked around a bit and couldn’t find anything.
Thanks!
Offline
#2 2006-08-05 21:43:53
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Editting layout of "#cpreview" page...
Offline
Re: Editting layout of "#cpreview" page...
Ah, thanks.
I must be blind. :P
EDIT: I just pasted the code to show you this:
http://www.btw-net.com/journal/comments#cpreview
How do I get rid of the article on top and the comments under the post comment form? And how do I get rid of the link to the previous comment?
Last edited by Biomech (2006-08-05 22:36:40)
Offline
Re: Editting layout of "#cpreview" page...
:bump:
try this
<code>
<h3 id=“comment”><txp:text item=“comments” /></h3>
<txp:comments />
<txp:if_comments_preview>
<div id=“cpreview”>
<txp:comments_preview />
</div>
</txp:if_comments_preview>
<txp:if_comments_allowed>
<txp:comments_form preview=“1” />
<txp:else />
<p><txp:text item=“comments_closed” /></p>
</txp:if_comments_allowed>
</code>
If that doesn’t work, I dunno what else would..
Offline
Re: Editting layout of "#cpreview" page...
That works great. Thanks so much you two! =D
Last edited by Biomech (2006-08-05 23:42:12)
Offline
Pages: 1