Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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 ?
I am facing an issue with Javascript preprocess/aggregation when source code is updated.
I am testing my theme on local development with preprocess off, but when deploying new source code to platforms where preprocess is activated, aggregated files are not updated unless I perform a `drush cr`. I tried `drush cc css-js`, `drush css render` and `drush cc views`, no luck.
I have a twig file that I want to include within node with {% include '@mt/blocks/static-row.html.twig' %} but it would not render and show the code only.
I'm making a return to Drupal after nearly a decade away, and a lot has changed from a theming perspective. I'm running into an issue where a CSS file, views.module.css, from the base theme is propagating into my theme despite setting "system/base:" to false in the info.yml file.