× Joomla Facebook Connect support forum

Topic-icon Controlling comments and replies

Active Subscriptions:

None
14 years 5 months ago #16970 by kiwi2b
Hi there, basic question for the comment box I think but...to control the number of comments, blog view (which is page of articles from a category with the intros showing, right?) is set to 1 for testing.

But the comment has a reply which is still shown?? I was expecting just the comment to show. So if a comment has a number of replies, they are all still shown, despite the control set to 1? Are there any limits on this to stop the layout getting broken?

Thanks again.
The topic has been locked.
Support Specialist
14 years 5 months ago #16978 by alzander
No, there's no way to stop that. Facebook will always show 'x' main comments. Any replies to those comments are also shown and not included in the count.

I'm not sure how you're layout is getting broken. Regardless of whether it's 10 'small' comments or 1 really long comment, your template should be able to grow to accommodate them. The Comment box will automatically resize it's div as appropriate, and most templates/browsers simply respond by moving things down on the page. The width of the comment box will never increase beyond the setting you've specified.

Hope that helps, but if you have some specific issue, let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17012 by kiwi2b
Okay, thanks. I have an idea for a template that will test this out. One day... :-)
The topic has been locked.
Support Specialist
14 years 5 months ago #17025 by alzander
Sounds good. Hopefully, it doesn't cause you too much trouble.

Just so you know, in the upcoming 4.1 release, if you set the Number of Comments to '0', instead of a comment box displaying, a language string like "There are 'x' comments for this article" will show. Should be great for blog views or other tight areas where you may want to show a snip of an article.

As always, good luck!
Alex
The topic has been locked.