Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-05 20:27:40

Biomech
Member
From: Canada
Registered: 2006-07-30
Posts: 14
Website

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

#3 2006-08-05 22:28:39

Biomech
Member
From: Canada
Registered: 2006-07-30
Posts: 14
Website

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

#4 2006-08-05 23:03:41

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

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

#5 2006-08-05 23:39:22

Biomech
Member
From: Canada
Registered: 2006-07-30
Posts: 14
Website

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

Board footer

Powered by FluxBB