Topic-icon JFBCLike in module or template formatting

Active Subscriptions:

None
12 years 4 months ago #22867 by opt2bout
I am trying to display the default article content JFBCLike icons in other areas of the site--manually in articles or in custom modules or the template itself.

I've found several threads about {JFBCLike} that it will include Google+, Twitter, LinkedIn, etc. based on the configuration of the component, but JFBCLike still just shows the Facebook Like/Send buttons even though I have all of the other social services enabled on our configuration in the Social tab.

I am up to date (4.2) on JFBConnect. Articles correctly show all of the social media icons, nicely in one line at either the top and/or bottom of the article. But when I use the {JFBCLike} tag, I only get the Facebook icons. I have to specify each of the services separately using {SCTwitterShare} and {JLinkedShare} as well as {SCGooglePlusOne annotation=inline}, but the problem for me is that it won't format the same way as it does in article content with everything in a single line.

Am I doing something wrong, or is JFBCLike still not going to defer to the component's configuration? It would be nice if I only had to configure it in one place, and use a single tag for consistency, etc. I've tried all sorts of CSS overrides and still get different results using the separate tags vs. how articles display the active social icons.

Thanks much.

Using the content plug-in (desired layout):
File Attachment:


Combining JLinkedShare, SCTwitterShare, SCGooglePlusOne and JFBCLike in a module or custom code:
File Attachment:
The topic has been locked.
Support Specialist
12 years 4 months ago #22872 by alzander
Yeah, unfortunately, we don't have a single tag to do all 4. It's something we agree would be nice, and will likely be added in a future version. If you already have them in a line like you're showing at the bottom, you're pretty much already there. I'd recommend adding "layout=button_count" to your JFBCLike tag or setting the width to something like 50 (in the tag). The reason it's going to the next line is likely from the extra text making it wrap in a column that's just not wide enough for all 4 buttons plus the extra info of the Like button.

Hope that makes sense and helps, but if not, let us know!

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

None
12 years 4 months ago #22937 by opt2bout
It would be cool to have a {JFBSocial} tag that would follow the same settings and layout as defined in the content plugin. So if you turn something off in the settings, it would reflect in that tag. But I also like the ability to manually place tags or override those settings. I'm just greedy.

I think my problem is that I need to manually include the div class scsocialbuttons and then make some adjustments. Also, the Google and Twitter server code injected takes up space without the data_count or annotation being to none.

At least I know I was doing the right thing. Using Event Registration Pro and wanted buttons and comments like my articles so am creating a override for the event display layout. Couldn't get it to look like my articles and thought maybe I didnt read the M***** (shhh, manual).

Thanks much,

Kevin
The topic has been locked.