Phoca Open Graph Plugin

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
peppe
Phoca Member
Phoca Member
Posts: 19
Joined: 04 Jan 2018, 16:48

Phoca Open Graph Plugin

Post by peppe »

I installed Phoca Open Graph Plugin


When I share post on facebook from addthis, they are published with the relative image of the article on desktop, while on the mobile station is placed only the title of the article without image.
Is there any option to set?
Thanks again to everyone
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph Plugin

Post by Jan »

Hi, which version do you use? System or Content plugin? Can I see the site where this occurs? Normally this plugin creates a tag with the link to image and there should not be a difference between PC or tablet or mobile view :idea:

Jan
If you find Phoca extensions useful, please support the project
peppe
Phoca Member
Phoca Member
Posts: 19
Joined: 04 Jan 2018, 16:48

Re: Phoca Open Graph Plugin

Post by peppe »

Hello,
Thanks in advance,

the site is http://www.codiceconcorsipubblici.org/blog.html
I installed only Phoca Open Graph Plugin
Do I have to install anything else?

I also installed Phoca Open Graph System Plugin
I tried to share the post on facebook, but it remains the same problem in mobile version.
do I have to make any particular settings?
Thanks again
peppe
Phoca Member
Phoca Member
Posts: 19
Joined: 04 Jan 2018, 16:48

Re: Phoca Open Graph Plugin

Post by peppe »

hi everyone,
can anyone advise me?
Thank you all
peppe
Phoca Member
Phoca Member
Posts: 19
Joined: 04 Jan 2018, 16:48

Re: Phoca Open Graph Plugin

Post by peppe »

I tried to insert the image from the plugin and it works correctly both in mobile versio and desktop.
The problem that remains is the difficulty in having to change image for each article, having to open the plugin every time.
How to solve.
If there are more images in an article, how do I select the image to share with the post?
Thanks again
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph Plugin

Post by Jan »

Hi, the plugin tries to find the image in article if not other options set. It displays the first image it finds in the article, see the flow of displaying images:
https://www.phoca.cz/documents/70-phoca ... open-graph

Jan
If you find Phoca extensions useful, please support the project
peppe
Phoca Member
Phoca Member
Posts: 19
Joined: 04 Jan 2018, 16:48

Re: Phoca Open Graph Plugin

Post by peppe »

so we can not select an image?
peppe
Phoca Member
Phoca Member
Posts: 19
Joined: 04 Jan 2018, 16:48

Re: Phoca Open Graph Plugin

Post by peppe »

which plugin do you need to use?
Phoca Open Graph Plugin or System - Phoca Open Graph Plugin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph Plugin

Post by Jan »

Hi,
so we can not select an image?
yes, you can, didn't you read the documentation, if you want to set own image, just set it in plugin options or in article options.

In case, the image should be searched in article (which is demanding for calculations) the first which is found is selected. If you need other behaviour, the regex function needs to be changed.
which plugin do you need to use?
See documentation for the plugins and for Joomla! itself to see the difference between content and system plugins.

Content plugin is active in case of com_content component (in article views), the system is active everywhere (so if content and system is used together, the system needs to be disabled in options for the articles where the content is active)

Jan
If you find Phoca extensions useful, please support the project
Post Reply