Page 1 of 1

Phoca Open Graph System Plugin & JoomGallery

Posted: 05 Aug 2017, 10:09
by mmolthagen
Hello,

on our church' website JoomGallery is used as gallery component.

Yesterday I did install Phoca Open Graph System Plugin.

With plugin enabled, JoomGallery won't show images in detail view, and images can't be downloaded (file can't be found).

https://www.martin-luther-king-kirche.d ... r-2017-767

Images won't show up in articles, too:

https://www.martin-luther-king-kirche.d ... ember-2017


Kind regards from Germany

Michael

Re: Phoca Open Graph System Plugin & JoomGallery

Posted: 08 Aug 2017, 14:00
by Jan
Hi, the system plugin does not change content, it only adds meta tags to your site - to section head but does not change anything inside the content :idea:

Jan

Re: Phoca Open Graph System Plugin & JoomGallery

Posted: 08 Aug 2017, 15:03
by mmolthagen
Hi,

At the moment, plugin is enabled, so you can have a look at my site:

Dateil view in gallery: https://www.martin-luther-king-kirche.d ... r-2017-767

Image from gallery in artice: https://www.martin-luther-king-kirche.d ... ember-2017

UPDATE: When I try to open image directly (https://www.martin-luther-king-kirche.d ... rig&id=767), I get an error message: "Error: 0 Call to undefined method JDocumentRaw:addCustomTag()".

You're right - there are only 6 extra lines in HEAD when plugin is enabled:

Code: Select all

<meta property="og:site_name" content="Martin-Luther-King-Kirche (Baptisten)" />
<meta property="og:title" content="Martin-Luther-King-Kirche (Baptisten) - Galerie - Kategorie: 2016/17 - Bild:  August/September 2017" />
<meta property="og:description" content="Die Martin-Luther-King-Kirche (Baptisten) ist die Evangelisch-Freikirchliche Gemeinde in Stuttgart-Zuffenhausen" />
<meta property="og:url" content="https://www.martin-luther-king-kirche.de/website/galerie/spruchkarten-soschumolevers/2016-17/august-september-2017-767" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://www.martin-luther-king-kirche.de/images/5957942022_6a09d1c9aa_m.jpg" />
And those extra lines aren't the problem.

After I did copy them to index.php of another site's template with JoomGallery (but without Open Graph System Plugin), everything works fine:

https://www.molthagen.de/michael/inhalt ... d-hdrb-148

It seems JoomGallery and Open Graph System Plugin can't work together...


KInd regards

MIchael

Re: Phoca Open Graph System Plugin & JoomGallery

Posted: 12 Aug 2017, 13:16
by Jan
Hi, hmmm, for now I don't know any reason why the plugin cannot work in some extension. :idea:

When you get this error:
"Error: 0 Call to undefined method JDocumentRaw:addCustomTag()". - do you have any more detailed informaiton e.g. in php errorLog so I can take a look at it?

Re: Phoca Open Graph System Plugin & JoomGallery

Posted: 13 Aug 2017, 10:22
by mmolthagen
Hi,

in JoomGallery's forum a user told me how to solve the problem:

http://www.forum.joomgallery.net/index. ... l#msg31195

Line 53 of plugins/system/phocaopengraph/phocaopengraph.php needs to be changed.


Kind regards

Michael

Re: Phoca Open Graph System Plugin & JoomGallery

Posted: 17 Aug 2017, 12:57
by Jan
Hi, great, thank you for the info, I will change it for the next version.

Jan