No item List Element - Forum | JoomShaper
Staff replied Helix Framework

No item List Element

Asked by Łukasz 1 year ago Last activity 1 year ago

Hello, I have received a message from Google on many pages, "Problems detected (Navigation menu - structured data) on the site"
Missing item List Element

Can you fix this from helix ultimate?

21 replies

Ofi Khan Staff

Hello Łukasz,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

If you could kindly provide any additional information regarding the issue, it would greatly help me investigate and address it more efficiently. For example, please share the report with exact issue location. Then I will be able to check and address the issue.

Best regards

Paul Frankowski Senior Staff
1 year ago · edited

Czesc Łukasz,

  1. Probably you have to install extension for Google Structured Data, for example, from Tassos.gr.
  2. So far I've seen that message only for Breadcrumbs area, but not for Menu. As I know for Menu deeper code customization must be done, here: plugins\system\helixultimate\src\Core\Classes\HelixultimateMenu.php
Paul Frankowski Senior Staff
1 year ago · edited

And Yes, I checked Cassiopeia template and it does not have schema.org attributes in Menu as well.


Alvaro

Hi, I was going to report this in another post, but I'll join here.

This is an issue due to the Breadcrumbs module override in the Helix Ultimate plugin, as it doesn't contain the code that generates JSON for structured data.
Although the microdata in the HTML of the override generated by Helix Ultimate is correct, Google doesn't take it into account because Joomla generates JSON-LD. The problem is that when the Breadcrumbs module is active, Joomla's JSON-LD contains a BreadcrumbList without an itemListElement.

You can see the JSON-LD script in the site's head. Please fix this because this is a issue with all sites that use Helix Ultimate and have Breadcrumbs enabled.
Regards

Paul Frankowski Senior Staff
1 year ago · edited

Alvaro, for breadcrumbs module I have ready fix code. But in my case, message from Google included "breadcrumb" name, not "Navigation menu" as Łukasz shared with Us. So it may be something else.


About breadcrumbs:

default_unzip.zip

Download, Unzip, and Upload / Override file here :: templates\YOUR_THEME\html\mod_breadcrumbs\default.php

Alvaro

Hi Paul, I've tested your override. It now correctly generates JSON-LD for breadcrumbs, but it has several errors in the microdata that weren't there before. It's missing the position and name fields for the "you are here" or "icon" element because it now has an itemListElement. Also, the element that currently has position 1 (should be 2 if "you are here" has position), which is Home, doesn't have a name field.

The previous override, located inplugins/system/helixultimate/overrides/mod_breadcrumbs, correctly generates microdata in HTML; it's just missing the JSON-LD. The idea would be to improve that by adding the JSON-LD or improve the current override so that it correctly generates the HTML with microdata because Google reads both. When it's ready and tested, add that to the plugin, not the template. When you have another version, you can share it or send it to me so I can test it.

Regards

Paul Frankowski Senior Staff

For now, I prefer to not share my private code. But thanks for feedback.

Paul Frankowski Senior Staff
1 year ago · edited

Have you read what I wrote? Today, I shared temporary (my own) fix for breadcrumbs ONLY, not for Main Menu.

Have you tried Google Structured Date extension? Or contact with its developer (pre-sale question).


And even without that site still works and is indexed by Google.
Can you show me site that used that code in Menu. Yes, can be WP as well. I'm curious because even Amazon hasn't implemented this.

Łukasz Asked this

Yes I tried Google Structured Date and it doesn't work properly either. It doesn't add itemListElement to articles. I sent a page that has it in hidden content.

Paul Frankowski Senior Staff

Thanks,

Thier website also don't have"suggeted" itemListElement in Menu items or Breadcrumbs items.
Ale jest to jakiś punkt odniesienia.

Łukasz Asked this

As you can see, the tests pass.

Log in to reply.