Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-21 20:10:55

savvydotorg
New Member
Registered: 2005-11-21
Posts: 7

Comment form page is not displaying single article

Hi. I am not the best at descriptions, so look at my site for what I am having trouble with:

http://www.savvy.org/

when you click the Comments link, the comment form appears on the default page. I just want it to appear on a page with the single article being commented on. Any suggestions? I’ll provide any info needed.

Offline

#2 2005-11-21 22:02:24

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Comment form page is not displaying single article

I’d guess you have a <txp:article_custom /> tag on your page. See the FAQ.


Alex

Offline

#3 2005-11-22 14:09:18

savvydotorg
New Member
Registered: 2005-11-21
Posts: 7

Re: Comment form page is not displaying single article

Good call on that, Alex. I was using the txp:article_custom tag. I was using the standard txp:article tag with a limit=1 to display the top (most recent) article, and an txp:articlecustom tag with an offset=4 and limit=4 to show the next 4 articles excerpts.

I changed the txp:article_custom to txp:article, and it has gone from listing the next 4 articles on the comment page to the full article that is being commented on on the comment page, so I am almost there. How do I get that second iteration of the article off the comment page? Is there a seperate form or page for comments that I should be adjusting?

Thanks again!

Offline

#4 2005-11-22 23:13:38

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Comment form page is not displaying single article

What if you surround your second article tag with <code><txp:if_article_list></txp:if_article_list></code> tags?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2005-11-23 13:39:54

savvydotorg
New Member
Registered: 2005-11-21
Posts: 7

Re: Comment form page is not displaying single article

Well that worked, Stuart! Thanks for pointing out that tag for me!

Offline

Board footer

Powered by FluxBB