Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-18 00:17:15

SHydroxide
New Member
Registered: 2005-05-30
Posts: 5

Comments page.

I want to remove the content of a post from its relevant comment page; basically when a user clicks “Comment” under an article, I just want it to load a page with the list of comments and a link back to the article.

Furthermore, I haven’t actually figured out how to link back to the article from its comments page, either.

Thanks for any and all help!

Offline

#2 2006-10-18 00:53:05

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Comments page.

So you don’t want the comment form on the article page?

  1. Admin Tab>Basic Prefs>Comments Mode: popup
  2. Auto-append comments: no

Presentation>Forms>popup_comments:

<code>
<h1><txp:permlink><txp:title /></txp:permlink></h1>
<h2>Comments</h2>
<txp:comments />
(or <txp:popup_comments /> – it’s been a few weeks since I did this)
<txp:comment_form />
</code>

Then for your main, non-popup comments form:

<code>
<p><a href=”<txp:site_url />?parentid=<txp:article_id />”>Comments</a></p>
</code>

Offline

#3 2006-10-18 05:51:31

SHydroxide
New Member
Registered: 2005-05-30
Posts: 5

Re: Comments page.

No, I don’t want the article on the comment form. I guess the opposite of what you said?

Offline

Board footer

Powered by FluxBB