Open Graph - random title and image

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
jakcrabbit
Phoca Member
Phoca Member
Posts: 15
Joined: 27 Jun 2012, 11:42

Open Graph - random title and image

Post by jakcrabbit »

Hi, I have problem with your plugin for facebook open graph. It generate random titles and images from articles. Im using K2 and joomla 3.0+. How to fix it?

U can check it here: mosteckatv.cz/most/item/793-video-slicne-stredoskolacky-lakaly-budouci-studenty-v-mostecke-sportovni-hale-na-veletrhu-vzdelavani
Thx for reply, Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open Graph - random title and image

Post by Jan »

Hi, what you mean with "random titles" and "images" - the title is set by article title, no idea from which other part should the title be used?

If the plugin is used in features or category view, then the title from first article will be select.
If the plugin is used in article view then the article title is used :idea:

Jan
If you find Phoca extensions useful, please support the project
jakcrabbit
Phoca Member
Phoca Member
Posts: 15
Joined: 27 Jun 2012, 11:42

Re: Open Graph - random title and image

Post by jakcrabbit »

Hi Jan, check this :D

mosteckatv.cz/most/item/793-video-slicne-stredoskolacky-lakaly-budouci-studenty-v-mostecke-sportovni-hale-na-veletrhu-vzdelavani

Load source code and push F5 :)
jakcrabbit
Phoca Member
Phoca Member
Posts: 15
Joined: 27 Jun 2012, 11:42

Re: Open Graph - random title and image

Post by jakcrabbit »

Hi, so, did u try it?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open Graph - random title and image

Post by Jan »

Hi, really not sure what you exactly mean, but when I press f5 many times on that site, I still get the same meta tag:
<meta property="og:title" content="VIDEO: Sličné středoškolačky lákaly budoucí studenty v mostecké sportovní hale na veletrhu vzdělávání" />
If you find Phoca extensions useful, please support the project
jakcrabbit
Phoca Member
Phoca Member
Posts: 15
Joined: 27 Jun 2012, 11:42

Re: Open Graph - random title and image

Post by jakcrabbit »

If u didnt response, I use another plugin. But now I will turn your plugin on and u can check it... :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Open Graph - random title and image

Post by Jan »

Hi, testing now 08/11/2014 23:00 and still get no problem there :idea: still the one title ... I still do not understand, there is no reason to change the titles, the title is taken from the article or page title, but there is no random function - to somehow change it, why? :idea:

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