Page 1 of 1

OpenGraph, JEvents

Posted: 21 Mar 2016, 04:04
by thex
Hello,

I hope this question has not already been asked. But I have not found an answer on this problem. And alsoI'm not getting it solved myself since a few months and tried nearly everything. The plugin works as it should and everywhere correctly on my page. With on Exception. On all sites where the JEvents Module is in some kind used. In this case non of the og: meta Tags is included. Nothing. I tried multiple configuration and load orders but always the same. No Image fallback no title nothin. Maybe you have some sort of advice how getting around this problem. :)

Thanks in advice. Regards

Re: OpenGraph, JEvents

Posted: 22 Mar 2016, 11:53
by Jan
Hi, hmm, then try to ask JEvents developers, if there is no feature which writes meta tags to header. It can happen, that the module can change the header of the site and this could be the reason for not displaying the tags. For now I don't have any information about that such module can write some data to header, really no idea, but maybe there is such feature :idea:

Jan

Re: OpenGraph, JEvents

Posted: 22 Mar 2016, 18:48
by thex
Hallo, thanks for your reply. I already investigated on JEvents and the option of setting meta tags through the JEvents Plugin. But of course this is not possible with the Core Plugin. Rather it's necessary to subscribe a silver membership to get access to the Meta-Tag Plugin. This is not an option for me, because paying 13€ per month for simply writing one single Tag to the Header is not worth it (from my perspective) because I only really need the (og:image tag) everything else is more or less correctly auto generated by FB. So i'm searching for another solution.

I'm myself a developer, even though I'm not a pro PHP developer, but maybe as Joomla (PHP) developer you can give me a hint after what i have to look for in a Joomla plugins code, where the meta tags are possible overwritten (or removed). Because I'm not in deep familiar with the stuff going on. But if i find the position i can of course read the code and change it myself (if i know after what i have to search for). Thanks in advance

Re: OpenGraph, JEvents

Posted: 26 Mar 2016, 23:17
by Jan
Hi, the Phoca Opengraph plugin is a content plugin, which means, it can be run inside the article - inside the content - there it gets all information about the articles, so there it gets article meta tags information and such then can be used.

So maybe you need somehow customize the plugin - to find place where the meta tags are set (if they are e.g. stored in database and are loaded e.g. somewhere in the plugin) and then to use Joomla! methods to produce the meta tags in html header :idea:

Jan

Re: OpenGraph, JEvents

Posted: 26 Apr 2016, 23:55
by thex
Hi Jan,

thanks for your efforts and sorry for my late answer. I did not have the time to put a deeper investigation on the problem. I think your answer helps me but I have to put an eye on another plugin which not really works well but interestingly can generate the open graph meta tags within JEvents. I have to review both plugins source code to find the reason for the problem. If i find an adequade solution, which fits your source code, I will come back and post it here.

regards
Andreas

Re: OpenGraph, JEvents

Posted: 28 Apr 2016, 17:30
by Jan
Ok