?
avatar EJBJane
EJBJane
26 Dec 2019

Steps to reproduce the issue

Create a tag.
Create list of tagged items.
Select type : Article

Expected result

List of articles with correct itemListElement properties

Actual result

itemListElement property 'position' is missing in the list element properties.

System information (as much as possible)

The Google Structured Data Testing Tool throws the error: 'value for the position field is required'.

Additional comments

This can be tested in the Google Structured Data Testing Tool.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar EJBJane EJBJane - open - 26 Dec 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Dec 2019
avatar HLeithner HLeithner - change - 27 Dec 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-12-27 09:52:32
Closed_By HLeithner
avatar HLeithner HLeithner - close - 27 Dec 2019
avatar HLeithner
HLeithner - comment - 27 Dec 2019

Hello @EJBJane if I understand you correctly then this seams to be a template problem and you have to create a template override to solve this issue.

The github issue tracker is not the right place for this, please post your questin the https://forum.joomla.org

I'm closing this, if I'm wrong with my assumption you can always reopen the issue.

avatar EJBJane
EJBJane - comment - 27 Dec 2019

thank you

avatar ReLater
ReLater - comment - 27 Dec 2019

if I understand you correctly then this seams to be a template problem

No. See <li> HTML tags here:
https://github.com/joomla/joomla-cms/blob/staging/components/com_tags/views/tag/tmpl/default_items.php#L69

No <meta itemprop="position" content="[number]"> there.

On the other hand I ask myself why this list layout is the only one in Joomla core (besides mod_breadcrumbs where it's a must) that uses these itemprop="itemListElement" for <li>.

avatar HLeithner
HLeithner - comment - 27 Dec 2019

Does this mean core supports it but it's wrong implemented?

avatar ReLater
ReLater - comment - 27 Dec 2019

Yes. I think just a missing <meta itemprop="position" content="[number]"> for each li that has a itemprop="itemListElement".

I'll have a look on it.

avatar HLeithner HLeithner - change - 27 Dec 2019
Status Closed New
Closed_Date 2019-12-27 09:52:32
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 27 Dec 2019

Ok thanks

avatar HLeithner HLeithner - reopen - 27 Dec 2019
avatar ReLater
ReLater - comment - 27 Dec 2019

Please test pr #27350

avatar Quy Quy - close - 27 Dec 2019
avatar Quy Quy - change - 27 Dec 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-12-27 16:12:56
Closed_By Quy

Add a Comment

Login with GitHub to post a comment