Twig templates for like and useful widget summaries are not being rendered

Created on 7 January 2019, over 5 years ago
Updated 31 January 2022, over 2 years ago

Hello.

Setting "plugin type" as "Like", and setting "show results" as "yes".

The suggestion votingapi-widgets-summary--like.html.twig is ignored,
and template votingapi-widgets-summary.html.twig is used instead.

This is the output of twig debug:

<!-- FILE NAME SUGGESTIONS:
   * votingapi-widgets-summary--like--node--enlace.html.twig
   * votingapi-widgets-summary--like--node--enlace--field-votos-negativos.html.twig
   * votingapi-widgets-summary--like--node.html.twig
   * votingapi-widgets-summary--like--field-votos-negativos.html.twig
   * votingapi-widgets-summary--like.html.twig
   x votingapi-widgets-summary.html.twig
-->
<!-- BEGIN OUTPUT from 'modules/contrib/votingapi_widgets/templates/votingapi-widgets-summary.html.twig' -->
<p>1 votes with an average rating of 1.</p>
πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia Augusto182

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.

Production build 0.69.0 2024