I have installed the opengraph plugin. Great plugin and the only one so far that has added the correct content including images.
Only one issue that I cannot get my head around.
I want to replace the currently produced meta name with meta property as shown below. Any ideas?
<meta name="">. For example, you'd want to replace this:
<meta name="og:image" content="
With this:
<meta property="og:image" content=
I am using Joomla 2.5.16 with the latest version of the plugin. Any other information you require please do ask.
Thanks..
opengraph and meta property rather than name
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Nov 2013, 00:17
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: opengraph and meta property rather than name
Hi, then you need to modify it directly in php code.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Nov 2013, 00:17
Re: opengraph and meta property rather than name
Hi Jan. Please would you give some.pointers to where and what needs changing.
Thanks,
Rob
Thanks,
Rob
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: opengraph and meta property rather than name
Hi, I think, you need to ask on joomla.org as Joomla! method:
$document->setMetadata
add the name attribute there, so I think then the method needs to be changed or maybe there is some other method in Joomla! which addes the property instead name
Jan
$document->setMetadata
add the name attribute there, so I think then the method needs to be changed or maybe there is some other method in Joomla! which addes the property instead name
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Nov 2013, 00:17
Re: opengraph and meta property rather than name
Thanks I will come back with an update when I hit the jackot
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: opengraph and meta property rather than name
Ok
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 16 Nov 2013, 17:38
Re: opengraph and meta property rather than name
Thank you...