Open Graph - Some quirks

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
bozden
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 19 Mar 2012, 17:00

Open Graph - Some quirks

Post by bozden »

Hi,

Using J3.3.6 and latest K2. Installed Phoca Open Graph, enabled the plugin, default settings. While checking I found these (I read the docs and read similar posts in the forum): Am I doing something wrong?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open Graph - Some quirks

Post by Jan »

Hi,

1) image is taken from the first article (if e.g. there is a featured or category view) or when image not set, then the plugin tries to find some image from the content of the article - so depends on which kind of front page you have :idea:

2) It is a content plugin which means, it only works in article (not in other component like Phoca Gallery)

You can try to see the code:
plugins/content/phocaopengraph/phocaopengraph.php

And you can change the SQL which tries to ask for image, unfortunately I don't know K2 so cannot test it in K2 but in standard article, I get everything OK :idea: When I set the image in Options, this image is displayed, when not set, it is found in the article :idea:

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