Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Open Graph Data Bug for Joomla Blog

Featured Lock Resolved Bug
Hi Joomshaper

I am using Helix Ultimate with SP Page Builder Pro and having some extremely irritating issues with open graph data generation.

Firstly, I generally use sh404sef for OG as its a single point of management. I cannot get Helix Ultimate to stop adding OG tags even WITH the option set to "No" in template controls.

In my setup, I am using the Page Builder Joomla article integration along with an articles addon placed throughout the site. I think, the one source of the issue is the articles addon - where Helix is pulling this info for OG.

1. I cannot update or optimize the OG image. Even if I completely delete the blog image from the article admin, there is still an OG image tag that is pulling a thumbnail from the cache/preview folder. I have even tried deleting the image it pulls and deleting the file in the cache folder and then deleting Joomla and browser cache. It keeps reappearing.

2. This is namely a problem because the image that Helix is generating is NOT an optimized size for Facebook Open Graph.

3. Even with sh404sef OG data input and Heliz OG all set to off, the information STILL appears. This is a bug - I think mostly to do somehow with the article addon and whichever image is displayed there is sent to the cache/preview folder. In addition to this cached image being the WRONG size for Facebook, its cached version is also degraded in quality when posted to social.

To reach a solution, please tell me specifically what files and lines need removed from either Helix, Page Builder, and namely the article addon to STOP sending OG data. Logically, this should happen automatically when Page Builder OG is set to "no" or blank AND the template is set to "No". The title and description is blank now, BUT not the image. It keeps appearing in cache.

4. A long term solution for this is to add the OG customization (image, description) feature found in "Page Builder" pages to the Joomla article integration - so we can specifically control what displays. Maybe add this info in a new article tab - like the Helix Blog image tab. We all know that FB / LinkedIn Open Graph descriptions are shorter than standard meta descriptions - so whatever long term solution needs "specific" description fields to properly optimize.

Additionally, IF a user selects "No" to OG data in Helix AND PageBuilder - then you guys need to update the associated addons, etc. so it respects the NO setting. No means No, not force me to use this setting anyways because you say so.

Thanks

10 Answers

Paul Frankowski - Staff

3 weeks ago #Permalink
HI,
I guess you have to disable OG from the sourcecode completely.
Helix Options > Blog> Details > Enable Open Graph: No
SPPB Options > Disable Default Open Graph Settings > No


If you want to cut off sure, it's on your hands only:
templates\shaper_helixultimate\html\layouts\joomla\content\open_graph.php
components\com_sppagebuilder\views\page\view.html.php

Only in those two files, we used OG code

MW Dev

3 weeks ago #Permalink
HI,
I guess you have to disable OG from the sourcecode completely.
Helix Options > Blog> Details > Enable Open Graph: No
SPPB Options > Disable Default Open Graph Settings > No


If you want to cut off sure, it's on your hands only:
templates\shaper_helixultimate\html\layouts\joomla\content\open_graph.php
components\com_sppagebuilder\views\page\view.html.php

Only in those two files, we used OG code


I have disabled both these settings - and yet OG info is still generated per the preview/cache image I mentioned.

For the two php files, what specifically needs commented out? For the open_graph.php file can this be removed completely without causing an error?

Within Pagebuilder - I get the area for setting OG info and image. But of course when using the Joomla article integration - how does that work?

Thanks

Paul Frankowski - Staff

3 weeks ago #Permalink
Code customization is beyond support, it means it's on your risk only.
-
In articles with SPPB integration, there is no OG, or I haven't noticed.

MW Dev

3 weeks ago #Permalink
Code customization is beyond support, it means it's on your risk only.
-
In articles with SPPB integration, there is no OG, or I haven't noticed.


This isn't customization as you are implying. There is a BUG - and we need to know how to fix it. OG is turned off on Helix AND Pagebuilder but is STILL being generated. Are we on the same page? If the control mechanisms to disable this are not working - then it's broken.

The questions regarding nulling code should be provided as a temporary fix via support until this bug is remedied.

And you mention there is no OG in Joomla articles? Then that must be ANOTHER bug because if you reference my original post, I am specifically using Joomla / SP Pagebuilder integration. I have OG turned OFF. Yet its still being generated.

And so the I am stuck in the logic of what you're telling me. There's a bug.... and its beyond the scope of support to provide a solution to fix it?

Paul Frankowski - Staff

3 weeks ago #Permalink
Personally I cannot edit php code, I hope you know why.
It means that you have to wait for an official update or make customization alone.
---
Make a basic test.
Install clear Joomla, install SPPB Pro, disable OG and test, if OG it displayed or not.
Then install Helix and do this same checking.

MW Dev

3 weeks ago #Permalink
Personally I cannot edit php code, I hope you know why.
It means that you have to wait for an official update or make customization alone.
---
Make a basic test.
Install clear Joomla, install SPPB Pro, disable OG and test, if OG it displayed or not.
Then install Helix and do this same checking.



Paul,

I have already done this on our dev instance and confirmed. Disabling features does stop the OG description but NOT the image - which is being passed into the preview/cache folder. I have no idea the source and this is something the Joomshaper team needs to diagnose. So if possible, can you please pass this post / bug report onto them. I laid out my use case so if they create an instance as I described - they will clearly see the issue.

thanks

Paul Frankowski - Staff

3 weeks ago #Permalink
Ok, I will make a test on my site.
To be clear, do we talk about

<meta property="og:image" content=


only?

MW Dev

3 weeks ago #Permalink
Ok, I will make a test on my site.
To be clear, do we talk about

<meta property="og:image" content=


only?


Paul,

That's correct. The image is being pulled from the cache/preview folder. And what is strange is even after deleting this file, plus even the image from Helix Blog, the image still is regenerating in the cache/preview folder.

I would also be curious if you can confirm that images generated for the "Articles Addon" are not creating this preview/thumb.

Thanks!

Paul Frankowski - Staff

3 weeks ago #Permalink
as I know "Articles Addon" only display images, no thumbs are created from addon(!).
All thumbs can be from Helix Options > Blog > Images
so just disable all from there.

disable-all.jpg

Attachments (1)

  • disable-all.jpg
    disable-all.jpg 23.5 KB

Paul Frankowski - Staff

3 weeks ago #Permalink
Found, indeed the problem is inside Helix Ultimate.
1) download a new file, then unzip
2) replace : templates\shaper_helixultimate\html\layouts\joomla\content\open_graph.php

it will cut off OG completly from template

Attachments (1)

  • open_graph_UNZIP_file.zip 0.3 KB


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 106
Toufiq

Toufiq

Total Accepted Answers: 52
Sifat

Sifat

Total Accepted Answers: 38
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 24
Ofi Khan

Ofi Khan

Total Accepted Answers: 19

119

Templates

306533

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us