Phoca OG - only name instead of property

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49111
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca OG - only name instead of property

Post by Jan »

Hi, can I see the site where this occurs? The possible reasons could be:

- it is rendered by other part of the system (another extension, core)
- cache holds old value
- the parameter option is not somehow stored in database (This is very unlikely, but you can try to check if Joomla is storing plugin parameters correctly - in the extensions table.)
- human oversight

Unfortunately, I can't think of any other reason why Joomla wouldn't take the value from the plugin settings. :idea:

Jan
If you find Phoca extensions useful, please support the project
Jo73
Phoca Member
Phoca Member
Posts: 31
Joined: 26 Dec 2024, 19:03

Re: Phoca OG - only name instead of property

Post by Jo73 »

Hi Jan,

thanks for your reply.
#1 - I can rule out.
#2 - I am just using the regular functions in the Joomla backend to clear the cache.
#3 - Maybe that could be a root cause. How should the data in the _extension DB look like correctly? Potentially I can compare a correct setup in the DB one to one with my data.
Jo73
Phoca Member
Phoca Member
Posts: 31
Joined: 26 Dec 2024, 19:03

Re: Phoca OG - only name instead of property

Post by Jo73 »

Hi Jan,

any idea on my reply?
This is all very odd, right?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49111
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca OG - only name instead of property

Post by Jan »

Just see the parameters column in Joomla extension table:
#__extensions

You can filter the open graph extensions with:

SELECT extension_id, name, type, element, params FROM `jos_extensions` WHERE name = 'plg_content_phocaopengraph' OR name = 'plg_system_phocaopengraph';

Image

{"title":"","title_type":"1","type":"article","image":"","url":"","site_name":"","description":"This is some description","titlef":"","title_type_featured":"3","desc_type_featured":"3","typef":"article","imagef":"","urlf":"","site_namef":"","descriptionf":"","displayf":"1","titlec":"","title_type_category":"1","desc_type_category":"1","typec":"article","imagec":"","urlc":"","site_namec":"","descriptionc":"","displayc":"1","app_id":"","other":"","render_type":"2","display_itemprop_image":"1","desc_intro":"0","remove_strings_description":"","disable_menu_items":"","disable_views":"","disable_options":"","parameter_image":"1","change_svg_to_png":"0","twitter_enable":"0","twitter_card":"summary_large_image","twitter_site":"","twitter_creator":"","article_display_category_image":"0","test_article_layout_param":"0"}

render_type: 1 ... name
render_type: 2 ... property

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