Phoca Open Graph System Plugin: og:url is empty

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
brickmaker
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Feb 2023, 10:35

Phoca Open Graph System Plugin: og:url is empty

Post 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!

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

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

Post 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
If you find Phoca extensions useful, please support the project
brickmaker
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Feb 2023, 10:35

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

Post by brickmaker »

Yes... it works... many thanks!!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok, great to hear it, so I will release it.

Jan
If you find Phoca extensions useful, please support the project
brickmaker
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Feb 2023, 10:35

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

Post by brickmaker »

Thanks for the great support!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply