Page 1 of 1
Setting comments permanently to linear
Posted: Thu Dec 28, 2006 3:44 pm
by tkarp
I would like the comments in my blog to be set permanently to linear, with no option to display as threaded.
What's the best way to do this?
Re: Setting comments permanently to linear
Posted: Thu Dec 28, 2006 9:08 pm
by garvinhicking
Hi!
For that you would need to edit your entries.tpl file and replace something like this:
Code: Select all
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
to something like that:
Code: Select all
{serendipity_printComments entry=$entry.id mode=$CONST.VIEWMODE_LINEAR}
HTH,
Garvin
Posted: Thu Dec 28, 2006 11:52 pm
by tkarp
Thanks Garvin.
That code set the mode to linear.
I also commented out the DIV directly above this, which posts the choice between linear and threaded.
I also commented out the <tr> </tr> that contains the dropdown box in commentform.tpl that lets you choose which post you're responding to.
That seems to fix everything.
Thanks for your help with this.