1 soupcan Jan 11, 2006 17:01
3 soupcan Jan 11, 2006 19:14
Thank you so much. I wasn't looking in the client side forum, but should have been. That did the trick mostly. Is it possible to have it behave the original way if there are no comments and the way described in that post for 1 or more comments? I've been poking around the php file but without success. Is there an isEmpty() or equivalent function I could use to check if there are 0 comments?
Basically the comments show by default as I want, but when there are no comments, it still shows the comments section with "No comments yet for this post..." filled in. I'd prefer it to just have the "0 comments" link as before if there haven't been any comments left.
thanks again,
adam
4 yabba Jan 11, 2006 19:17
Find the line that looks similar to this in your skins/<skin name>/_feedback.php, and comment it out ;)
$CommentList->display_if_empty()
¥
5 soupcan Jan 11, 2006 19:24
That brought me a heck of a lot closer. It still shows the big blue prompt: "Comments:" under every post. but you suggestion did remove the box and default messages as I wanted. Is there a way to remove this heading when there are no comments for a post?
thanks for all your help.
-- adam
[edit] I've removed that line for every post by commenting out "<?php echo implode( ", ", $disp_title) ?>" above the display_if_empty line. I'm still curious if i can wrap that in a n if statment ( if # of comments=0, then do nothing, else display title). However, thanks to everyone's help i've got a working solution.
Check [url=http://forums.b2evolution.net/viewtopic.php?t=4285&highlight=inline+comments]this thread[/url].