Score:0

How to correctly embed a view in a view

th flag

My solution is working fine, but I want to know if this is the correct way? Because when I update an article, I need to clear caches to see the changes.

Can I replace the twig tweak function with an "embed view" for instance and how?

  1. I have a taxonomy term 'categories'
  2. I have a content type 'article'
  3. I have a view

The view has:

A block (shows all taxonomy terms) and a global textfield with:

{{ drupal_view('my_view_name', 'attachment_1', tid ) }}

and the tid is replacement token from a hidden field (taxonomy term id)

An attachment (show all articles related to tid)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.