Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-03-17 10:06:02
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
comments question
Hello,
A very simple question.
How can i make that people can make comments on my articles.
Roelof
Offline
#2 2006-03-17 10:19:04
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: comments question
In the ‘write’ tab you can set Comments ‘on’ for the articles that you want to allow commenting for.
Offline
#3 2006-03-17 10:24:22
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: comments question
that’s not what i ment.
with which tags can you display the comments and the commentsform ??
Roelof
Offline
#4 2006-03-17 10:31:49
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: comments question
Oh sorry. This is what I have in my single article form:
<code>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>
</code>
EDIT: and in the article listform <txp:comments_invite />
Last edited by els (2006-03-17 10:32:58)
Offline
#5 2006-03-17 11:29:43
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: comments question
thank you Els
But i won’t work.
Im trying to make a guestbook with sdr-guestbook plugin.
I can see the comment-form but no comments.
In the page section i use :
<code><txp:sdr_guestbook section=”“ form=“commentaar” pagelimit=“10” articletitle=“Gastenboek”/></code>
My form looks like this :
<code>
<h3><txp:permlink><txp:title /></txp:permlink> · <txp:posted /> by <txp:author /></h3>
<txp:body />
<txp:comments_invite wraptag=“p” />
<div align=“center”><img src=”<txp:site_url />images/1.gif” style=“height:1px;width:400px” class=“divider” alt=”“ /></div>
</code>
I have a form “commentaar” who looks like this:
<code>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>
</code>
But still no comments.
what am i doing wrong.
I know that plugins questions must be in the plugin section but there i get no answer.
So please help me.
Roelof
Last edited by roelof (2006-03-17 11:30:24)
Offline
Re: comments question
I don’t think your tag has all the required information and the “form” attribute should be “commentform”. This is my tag – <code><txp:sdr_guestbook section=“guestbook” pagelimit=“10” commentform=“guestbook_comments” pageul=“guestpage” commentsid=“guestcomment” articletitle=“Guestbook” pagestring_placement=“bottom” /></code>.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#7 2006-03-17 15:25:31
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: comments question
oke,
I can use the current comments form or do i have to make a custom form ?
Offline
Re: comments question
I think you can use your current comment form. I just didn’t want all the meta info in mine so I created a new one.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#9 2006-03-17 15:38:57
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: comments question
Roelof,
For the attribute ‘form’ you need to fill in the form with which you want to display the article ‘Gastenboek’. Mine looks like this:
<code>
<h2><txp:title /></h2>
<p>Tot nu toe zijn er <txp:comments_count /> berichten geplaatst.</p>
<txp:body />
</code>
For ‘commentform’ you can use the form ‘comments_display’, which in my case looks like this:
<code>
<txp:comments />
<txp:if_comments_allowed>
<txp:comments_form />
</txp:if_comments_allowed>
</code>
Offline
#10 2006-03-17 15:39:25
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: comments question
oke,
I change it to : <code><txp:sdr_guestbook section=“article” pagelimit=“10” commentform=“commentaar” pageul=“guestpage” commentsid=“guestcomment” articletitle=“Gastenboek” pagestring_placement=“bottom” />. </code>
But the problem exist. see http://test.tamarawobben.nl/article
Roelof
Last edited by roelof (2006-03-17 15:39:50)
Offline
#11 2006-03-17 15:41:55
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: comments question
I made a test comment. It seems to work?
Offline
#12 2006-03-17 15:45:22
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: comments question
You made one under gastenboek or under first post.
Can you made one under gastenboek.
There seems to be none comments.
Offline