Page 1 of 1
comments not displaying properly
Posted: Sat Feb 05, 2005 1:25 am
by Sarpy Sam
If an entry has multiple comments on it I hit the comment button and the only comment that will show is the first one. It says comments are in linear mode but I hit the linear again and then all comments will appear. Also when trying to respond to a specific comment it fails and just adds another general comment. Is there any way to fix these things.
Posted: Sat Feb 05, 2005 5:15 am
by ned
I have the same problem. In linear mode, all comments display. In threaded mode - only the first comment displays.
http://Jeffblogworthy.com
Posted: Sat Feb 05, 2005 5:56 am
by ned
Hi.
Also, the current default is "threaded" display. How can I change the default appearance of comments to linear?
Posted: Sat Feb 05, 2005 11:01 am
by garvinhicking
There was a bug in earlier alpha versions about this which is fixed now in CVS.
Regards,
Garvin
Posted: Mon Nov 14, 2005 3:38 am
by Scott
ned wrote:Hi.
Also, the current default is "threaded" display. How can I change the default appearance of comments to linear?
Did anyone ever find out how to make comments linear by default?
~~
Scott
Posted: Mon Nov 14, 2005 10:13 am
by garvinhicking
You can change that in your template.
Look at entries.tpl, there's this code:
Code: Select all
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
You can replace that with:
Code: Select all
{serendipity_printComments entry=$entry.id mode=$CONST.VIEWMODE_LINEAR}
Regards,
Garvin
Posted: Fri Nov 18, 2005 1:58 pm
by Guest
Woot! Thanks Garvin! :D
Posted: Fri Feb 24, 2006 1:47 am
by Brendon K
garvinhicking wrote:You can change that in your template.
Look at entries.tpl, there's this code:
Code: Select all
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
You can replace that with:
Code: Select all
{serendipity_printComments entry=$entry.id mode=$CONST.VIEWMODE_LINEAR}
Regards,
Garvin
Does this still work? I tried this today on the 1.0-beta1 version (under the default template) and the change was not made. I am using s9ybluegrey as my current template of choice, which I *believe* is just a CSS variation of the default theme, in which case I edited the proper template. Am I wrong?
Posted: Fri Feb 24, 2006 2:09 pm
by garvinhicking
Hi Brendon!
Basically this method should work just fine; you could try to add some other output into your template to see if you got the appropriate one?
Sadly I currently have no access to my s9y installation so I cannot test it. If you still have problems, please report back here and I'll try to reply after the weekend. We have "karneval" in germany, so I'll not be here for the weekend

)
Best regards,
Garvin