I have a view that shows all the contents of my site, with an exposed filter, that allows to filter these contents according to different taxonomy terms.
I would like the taxonomy term chosen via the exposed filter to appear as a page title.
Example:
- I type in my search form: drupal,
- I arrive on a page with the title "drupal" and presenting all the contents having for term "drupal".
I tried different options, especially with the contextual filter, but without success.
For example, i tried this solution (1) or this solution (2), but either I do not get any title (1), or I get many errors that make the site crash (2), of type
Warning : Illegal string offset 'value' dans Drupal\views\Plugin\views\area\Text->preQuery() ((...)/core/modules/views/src/Plugin/views/area/Text.php ligne 50)
Help would be much appreciated
Edit:
My views configuration (maybe views can't find the id in the url? The url of my page: : mysite/myviews?tid=term+taxonomy+(ID) )
Replacement patterns
? It's not the same token as in D7.