Topic-icon JFBCCommentsCount simple Question

Active Subscriptions:

None
11 years 1 month ago #32525 by trianglewiz
Simple one on JFBCCommentsCount,

1. When I use it in version 5.00 I am getting an extra new line? for example I use this way

echo '{JFBCCommentsCount href='my URL'}';

It displays like this
Number of Comments:
10

I need to get rid of new line and display it as Number of Comments:10

2. Related question, whats the file in which I can change the text for Number of Comments to my own?
The topic has been locked.
Support Specialist
11 years 1 month ago #32537 by alzander
You can change the text for the line in the /language/xx_YY/xx_YY.com_jfbconnect.ini file. The string you want to update is:
COM_JFBCONNECT_COMMENTS_COUNT

There shouldn't be a newline after the text. Can you post (or Private Message) a link to a page on your site where we can see the comment count text?

Thanks,
Alex
The topic has been locked.
Support Specialist
11 years 4 weeks ago #32648 by alzander
Sorry for the delay in getting back to this, and thanks for the link to your site. To fix the newline issue, it looks like you just need to add the following line to your CSS file:
.fb-comments-count {
display: inline;
}

That should get you going, but if not, or you have other questions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 4 weeks ago #32651 by trianglewiz
Thanks, can you please let me know the name and location of the css file.
The topic has been locked.
Support Specialist
11 years 4 weeks ago #32658 by alzander
I would add that your template's main CSS file so it works on all pages. The JFBConnect CSS isn't loaded on every page, only when it's needed, so it's best not to put it in one of our files.

I hope that helps, but if you still need more help, let us know.

Thanks,
Alex
The topic has been locked.