Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-13 19:16:53

SteveC
New Member
Registered: 2004-11-06
Posts: 9

Comments on main page

I finally worked out how this is done. In the article form you use, (say, default) insert this code:

<code><txp:if_article_list> <txp:output_form form=“comments_display” />
</txp:if_article_list></code>

For an example of the point of this, Axentric has comments for article on main page.

(Textpattern · 4.0.3)

Last edited by SteveC (2006-02-13 19:17:10)

Offline

#2 2006-04-08 00:19:19

sharp
New Member
From: Malmö (Sweden)
Registered: 2006-02-01
Posts: 9
Website

Re: Comments on main page

What if you are using <code><txp:comments_form /></code> instead of <code><txp: output_form /></code>?
Can I use the code above or do I have to config it in order to work with my other comment settings?
Sorry stupid question perhaps, but I just want to get it properly done so it works correct.
Thanks!

Offline

#3 2006-04-26 07:53:25

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: Comments on main page

The comment form is shown but it doesn´t work while on frontpage. At least not on my site

When hitting the preview button you are sent to (in this case) http://mattiasskoog.se/index.php#cpreview

edit: Ah, guess that´s the same old problem… you must be visiting the individual page to do this… right?

Any ideas of how to manage this anyway? To be able to comment the (in this case) only article on the frontpage.

Last edited by skoggy (2006-04-28 08:59:10)

Offline

Board footer

Powered by FluxBB