Json-LD not displayed

Created on 9 July 2024, 9 months ago

Problem/Motivation

After the module installation (on D10), I created some schemas on different content types.

When I display contents of those type, there is no schema displayed (watched the source code).

The Readme say this is not theme dependant, so it should work no matter my theme is rendering.

Any clue why nothing is displayed ?

I got a lot of warning like, but no errors in the wachdog :
> Deprecated function : Creation of dynamic property Drupal\json_ld_schema_ui\Schemaorg\SchemaData::$descendantPaths is deprecated dans Drupal\json_ld_schema_ui\Schemaorg\SchemaData->getDescendantPaths()

πŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡«πŸ‡·France kikispas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kikispas
  • πŸ‡«πŸ‡·France kikispas

    Moved to schema_metatag modules which fit my needs... Issue can be closed.

  • You need to customize your content templates in your theme.

    For example,
    add {{ content.jsonld_schema }} to node.html.twig

    For the warning you mentioned, here is a patch that may be useful for your issue.

    #3413370-Deprecated Creation of dynamic property πŸ› Deprecated Creation of dynamic property Postponed: needs info

  • πŸ‡ΊπŸ‡ΈUnited States nkraft

    i found this comment and am trying it out. Why is not anywhere else in the read.me or in the module overview page? i feel like some documentation is sorely missing somewhere. Is there more specific documentation somewhere that I am just missing while looking around on the module page?

Production build 0.71.5 2024