comments on separate page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
pakl.at
Regular
Posts: 6
Joined: Fri Nov 03, 2006 4:23 am

comments on separate page

Post by pakl.at »

I just can not seem to find anything using the Search of this forum so I have to ask it... Sorry, if this was already covered.

How can I have comments on an extra page instead of the extended article view.

Idea is as following:
If there are a lot of comments on an article it would be nice to separate the comments from the article or at least make separate pages if there are more than X comments...

Is there something like that already available?

TIA
Pakl
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: comments on separate page

Post by garvinhicking »

Hi!

For that you would need to enable the use of popup windows in the global s9y configuration, then comments appear using a seperate popup and commentpopup.tpl template file.

To remove it in extended entry, you must edit your template file "entries.tpl" and reomve the references to the comment forms.

You could also use Smarty logic on that template file to check the amount of comments ({$entry.comments}), and only disable it if it reaches a threshould.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
pakl.at
Regular
Posts: 6
Joined: Fri Nov 03, 2006 4:23 am

Post by pakl.at »

ah, I see...
Thanks for the answer!
Post Reply