Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
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
Pages: 1