Page 1 of 1

Phoca Open Graph System Plugin: og:url is empty

Posted: 09 Feb 2023, 11:25
by brickmaker
Hello,

i am using Joomla 4.2.7 with PHP 8.1 and the Phoca Open Graph System Plugin.
In Joomla we use the "DPCalendar" Component for Events.

The plugin creates the following entries.

<meta property="og:site_name" content="xxx" />
<meta property="og:title" content="xxx" />
<meta property="og:description" content="xxx" />
<meta property="og:url" content="" />
<meta property="og:type" content="website" />
<meta property="og:image" itemprop="xxx.jpg" />

Everything is fine, only the og:url is always empty. On our old site, with Joomla 3 and also the "DPCalendar" component the og:url entry is also generated. Why not now? All settings are the same?

Anyone have any idea?

Thanks in advance!

Re: Phoca Open Graph System Plugin: og:url is empty

Posted: 09 Feb 2023, 16:14
by Jan
Hi, seems like $document object does not include information about url anymore, please try to test new version (4.0.6 - system plugin), it should be OK there:
https://www.phoca.cz/download/category/ ... tem-plugin

And let me know.

Thank you, Jan

Re: Phoca Open Graph System Plugin: og:url is empty

Posted: 09 Feb 2023, 16:20
by brickmaker
Yes... it works... many thanks!!!

Re: Phoca Open Graph System Plugin: og:url is empty

Posted: 09 Feb 2023, 17:53
by Jan
Ok, great to hear it, so I will release it.

Jan

Re: Phoca Open Graph System Plugin: og:url is empty

Posted: 09 Feb 2023, 19:27
by brickmaker
Thanks for the great support!

Re: Phoca Open Graph System Plugin: og:url is empty

Posted: 14 Feb 2023, 01:24
by Jan
Ok