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

Created on 7 January 2019, almost 6 years ago
Updated 14 September 2024, 2 months 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

2.0

Component

Theming

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.71.5 2024