Topic-icon How do I get the large share button?

Active Subscriptions:

None
7 years 6 months ago - 7 years 6 months ago #59977 by dageke
That worked, thanks!

You can probably anticipate my next question... How do I get the Twitter Tweet button up to the same size? I see on their Developer page that they also have a data-size="large" option...

Also: I uploaded the old jfbccontent.php file (from version 7.02), is that a problem when running version 7.04...?
Last edit: 7 years 6 months ago by dageke.
The topic has been locked.
Support Specialist
7 years 6 months ago #59987 by mel

You can probably anticipate my next question... How do I get the Twitter Tweet button up to the same size? I see on their Developer page that they also have a data-size="large" option...

The workaround change would be similar, but in a different file. /components/com_jfbconnect/libraries/utilities.php around line 71, replace
$extraButtonText .= '{SCTwitterShare href=' . $url . " layout=" . $dataCount . $renderKeyString . '}';
with
$extraButtonText .= '{SCTwitterShare size=large href=' . $url . $renderKeyString . '}';

When we add the size option to the content plugin, we'll make sure that it toggles all of the buttons' sizes that are possible, not just Facebook's like/share.

Also: I uploaded the old jfbccontent.php file (from version 7.02), is that a problem when running version 7.04...?

This is fine. There haven't been any changes in that file from 7.0.2 to 7.0.4
The topic has been locked.
Active Subscriptions:

None
7 years 6 months ago #59997 by dageke
worked fine, thank you much!
The topic has been locked.
Support Specialist
7 years 6 months ago #60000 by mel
Thanks for letting me know. I've updated the issue in the tracker.
The topic has been locked.
Active Subscriptions:

None
7 years 6 months ago #60007 by dageke
Hello again, I just checked my site with Safari on an iPad... Twitter buttong is large but Facebook button is small. This is not the end of the world for me, but I thought I'd let you know anyway :)
The topic has been locked.
Support Specialist
7 years 6 months ago #60009 by mel
Looking at one page www.thailandstidende.com/component/k2/it...nskirken-bygger-nytt - when you're displaying just the share button (fb-share-button), the button is smaller. However, down at the bottom of the page, there's the like and share button (using fb-like) and they are both the proper size.
The topic has been locked.