Phoca Open Graph Content - Article trouble

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
surdo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Jun 2025, 21:39

Phoca Open Graph Content - Article trouble

Post by surdo »

Hi, I'm running the Phoca Open Graph Content plugin with a new Joomla 5 website. I've managed to get it to work well with Category Blog entries, but on standard Joomla single article pages it seems to be stuck on one or two other articles, reproducing the data from these other (I've counted two so far) articles.

This page is a case in point: https://escuta.org/pt/proj/assombros/intro.html . The source of this page reveals:

Code: Select all

<meta property="og:title" content="Close">
	<meta property="og:type" content="article">
	<meta property="og:image" content="https://escuta.org/images/Close/close.jpg">
	<meta property="og:url" content="https://escuta.org/pt/proj/assombros/intro.html">
	<meta property="og:site_name" content="Escuta.org">
	<meta property="og:description" content="Assombros é uma exposição instalativa idealizada pelo artista de novas mídias Iain Mott e pela atriz/performer Simone Reis, e desenvolvida juntamente com o dramaturgo Camilo Pellegrini. O trabalho conjunto, busca integrar as linguagens das artes visuais, cênicas e sonoras, cujo resultado é fazer com">
	<meta name="description" content="Assombros é uma exposição instalativa idealizada pelo artista de novas mídias Iain Mott e pela atriz/performer Simone Reis, e desenvolvida juntamente com o dramaturgo Camilo Pellegrini. O trabalho conjunto, busca integrar as linguagens das artes visuais, cênicas e sonoras, cujo resultado é fazer com">
It pulls the wrong image and gives the link (in whatsapp or whatever) the wrong title. The site_name, description and url tags are all good.

I've used grep to search for references to close.jpg in css and php files but can't find it.

Can anyone please help me find what's going wrong?

Thanks

EDIT:

I found the culprit, it's the "Articles - Newsflash" module, which when disabled, allows the individual articles to pull all the correct data. I'll try now enabling and disabling it with various setting to see if I can find something that works.

Anyone aware of any compatibility issues with Phoca Open Graph Content and Articles - Newsflash?

Tags:
surdo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Jun 2025, 21:39

Re: Phoca Open Graph Content - Article trouble

Post by surdo »

I found the problem. "Trigger Plugin Events" in the Articles - Newsflash module was causing the conflict. It needs to be set to "no".
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9751
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Open Graph Content - Article trouble

Post by Benno »

Thanks for the info!

Kind regards,
Benno
Post Reply