How to choose the flag type display mode ?

Created on 22 December 2019, almost 5 years ago
Updated 1 November 2024, about 1 month ago

I created a type of "article" node. A user can flagged the nodes.

On the "full" nodes, I want to display the link for flagged and the total number of flag. With the latest version of the module it is easy because it supports the counter in TWIG.

On the "teaser" of the node, I want to display only the total number of flags. But in the node display mode, there is nothing to select the flag display mode.

How to choose the display mode of the flag type from the display mode of the node ?

It's a shame that this feature is not available.

OR

Is there a TWIG code to display the number of flags directly in the node's TWIG file ?

💬 Support request
Status

Fixed

Version

4.0

Component

Flag core

Created by

🇫🇷France zenimagine

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