Phoca Open Graph Issue with Module Content

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
Jo73
Phoca Member
Phoca Member
Posts: 21
Joined: 26 Dec 2024, 19:03

Phoca Open Graph Issue with Module Content

Post by Jo73 »

Hi,
I am using Phoca Open Graph Content on my J5 website. On the homepage there is an issue with showing the correct OG in the source code. The OG on the subpages run fine.
The homepage also consists of a module which is embedding content, beside other positions. Open Graph does not select the regular Facebook and Twitter information, but the one from the module as Open Graph information, which is not correct.
I have alrady tried a lot in the settings, but this issue remains. I have also deactivated the Open Graph System plugin as well and put "Homepage" an "featured" into the Open Graph content plugin.
Does somebody know about this issues with module positions and how do get it solved?
Thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48850
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph Issue with Module Content

Post by Jan »

Hi, did you try to enable/disable the "Check Article Layout Parameter"

Image

Jan
If you find Phoca extensions useful, please support the project
Jo73
Phoca Member
Phoca Member
Posts: 21
Joined: 26 Dec 2024, 19:03

Re: Phoca Open Graph Issue with Module Content

Post by Jo73 »

Hi Jan,
thanks. I have no enabled it and it seems that the homepage sourcecode is now showing the correct og. Should I leave it enabled?
What is this setting all about if it has such a big impact? Should I leave also "Homepage" and "featured" in the settings?
Thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48850
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph Issue with Module Content

Post by Jan »

As written in description, unfortunately, some module outputs have the same output like articles and send the same information to Phoca Open Graph plugin, so this option tries to recognize it and tries to avoid displaying the information form module and instead it tries to get it from articles. When both are displayed on the same site, it is hard to recognize which part is the right part - the content part.

Jan
If you find Phoca extensions useful, please support the project
Jo73
Phoca Member
Phoca Member
Posts: 21
Joined: 26 Dec 2024, 19:03

Re: Phoca Open Graph Issue with Module Content

Post by Jo73 »

...so, I keep it enabled, right? I also maintain "Homepege" and "featured" in the settings, right?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48850
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Open Graph Issue with Module Content

Post by Jan »

Yes, because then it tries to avoid using the data from module but tries to get it from main article.
If you find Phoca extensions useful, please support the project
Post Reply