Page 1 of 1

Open Graph - Some quirks

Posted: 10 Jan 2015, 14:09
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?

Re: Open Graph - Some quirks

Posted: 12 Jan 2015, 21:43
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