Faq Field Pivot for Schema

Created on 8 June 2022, about 2 years ago
Updated 16 August 2023, 11 months ago

Hi, please would you be so kind to guide me.

I'm using multiple faq field to create rich results for schema faqpage.

In schema, as follows:

Field name= [node:field_faq]
Text= [node:field_faq:question]
Answer= [node:field_faq:answer]

Works great as a single faq, but enabling 'pivot' for multiple fields, the schema disappears and not validating.

Most appreciate any support.

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France Liliplanet Cannes

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Hello, yes the same thing happens to me too. But I have configured FAQField as a custom block and I get blank. If I put fixed text if it is shown.
    In pivot it always comes out empty (no fields).

    I have tried:
    [node:field_faq]
    [node:field_faq:answer]
    [node:field_faq:question]

    [block_content:field_faq:0]
    [block_content:field_faq:0:answer]
    [block_content:field_faq:0:question]

    But no results.

    Can you guide me?
    Thanks

  • πŸ‡¨πŸ‡΄Colombia jucedogi

    To @ReVija or anyone else wondering still.

    The latest version of schema_metatag does support this.

    You must take care of the multiple value separator that you must define in the settings page for the metatag module. Default is ",".

    From there you must select the "Pivot" option and assing the text value with the multiple options separated with the properly assigned separator character. Take care that the text values do not include said character.

    In my case tokens were defined as:

    - [node:field_faq:0:question];[node:field_faq:1:question];[node:field_faq:2:question];[node:field_faq:3:question]

    and

    - [node:field_faq:0:answer];[node:field_faq:1:answer];[node:field_faq:2:answer];[node:field_faq:3:answer]

Production build 0.69.0 2024