Topic-icon Share a Jomsocial Post

Active Subscriptions:

None
9 years 11 months ago #58747 by Henning222
Replied by Henning222 on topic Share a Jomsocial Post
I write you a private message mel, because of a problem
The topic has been locked.
Support Specialist
9 years 11 months ago #58753 by alzander
Replied by alzander on topic Share a Jomsocial Post
To customize the look of a post to Facebook you need to set Open Graph tags, which are what describe the title, description and image that Facebook should use. You can set those tags using JFBConnect with the following tags on the post page, like:
{SCOpenGraph title=Title for page}
{SCOpenGraph description=Description for this page}
{SCOpenGraph image=https://site.com/link-to-image.jpg}
The actual values to set there would usually change page to page, so you'd need to determine how to set those dynaically. That may be a question you need to post to the JomSocial developers as I'm not sure the best way to do that and, for status updates that don't have an image, what you'd want to use.

You can set a default image to be used on all pages of your site, which will be used when no other image is set. That can be useful to set a logo or other image that you'd want to have in case no other images are set. To do that, go to the JFBConnect -> Open Graph -> Configuration area and in the "Defaults" box, set the image with the following text and a link to the default image/logo you want to use:
image=http://site.com/logo.jpg

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 10 months ago #58887 by Henning222
Replied by Henning222 on topic Share a Jomsocial Post
Hi , i change my template and now the code is away... I am sure to take this template for lifetime now. Can we do the share button on the new template too?
The topic has been locked.
Support Specialist
9 years 10 months ago #58889 by mel
Replied by mel on topic Share a Jomsocial Post
The code should still be in the template override folder for your older folder in /templates/YOUR_OLD_TEMPLATE/html/com_community folders. It should be as simple as copying the files into your new template into the override. This is the way you make a permanent override and it is not removed on changing of templates.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 10 months ago - 9 years 10 months ago #58891 by Henning222
Replied by Henning222 on topic Share a Jomsocial Post
I copy this folder to here :/os-vp/templates/jf_business/html/com_community but it dont helps...
Its a new Joomla - not the old one- its this the problem ?
Last edit: 9 years 10 months ago by Henning222.
The topic has been locked.
Support Specialist
9 years 10 months ago #58900 by mel
Replied by mel on topic Share a Jomsocial Post
I FTP'ed in and saw that you've added a new theme to the JomSocial /components/com_community/templates folder. This may be affecting the code that's in the /templates folder for the override. Without knowing why you changed how the theme was set up on this install, I'd recommend renaming the theme or switch back to using the jomsocial one to see if that helps to resolve the share buttons acting appropriately. If so, then you'll have to figure out the appropriate places in your template overrides to put the share codes.
The topic has been locked.