Phoca Open Graph System Plugin & JoomGallery

Question about all Phoca plugins except Phoca Gallery plugins which have own forum
mmolthagen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 05 Aug 2017, 09:57

Phoca Open Graph System Plugin & JoomGallery

Post by mmolthagen » 05 Aug 2017, 10:09

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


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39060
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph System Plugin & JoomGallery

Post by Jan » 08 Aug 2017, 14:00

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
If you find Phoca extensions useful, please support the project

mmolthagen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 05 Aug 2017, 09:57

Re: Phoca Open Graph System Plugin & JoomGallery

Post by mmolthagen » 08 Aug 2017, 15:03

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

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39060
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph System Plugin & JoomGallery

Post by Jan » 12 Aug 2017, 13:16

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?
If you find Phoca extensions useful, please support the project

mmolthagen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 05 Aug 2017, 09:57

Re: Phoca Open Graph System Plugin & JoomGallery

Post by mmolthagen » 13 Aug 2017, 10:22

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

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39060
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph System Plugin & JoomGallery

Post by Jan » 17 Aug 2017, 12:57

Hi, great, thank you for the info, I will change it for the next version.

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest