Puncte:0

Overriding views title with full taxonomy hierarchy

drapel vn

My Situation:
I am trying to list my content with a taxonomy hierarchy, building up a views based navigation.
To achieve this, I created a second vocabulary for my hierarchy terms (2 layers, mixed), which I attached through an entity reference field to a new content type. This entity reference field is routed through a first view, sorting out folder terms.
I then created a second view to sort, group and display this hierarchy. The output is linking to a third view, which lists the content related to the hierarchy term clicked.
This third view is connected with the taxonomy views integrator module with its vocabulary. (pathauto wants this view to run at /taxonomy/term/ to work proper afaik). Till here I got it working.

The Question:
How do I override the title of the third view with something like:

Hierarchy: {{ arguments.parent_target_id }} - {{ arguments.name }}

I tried a lot of relationship and context filter settings, but I never got the title replaced or the parent term displayed. Except when I go over the content, but at the beginning there is no related content, so it also fails in this situation.

Postează un răspuns

Majoritatea oamenilor nu înțeleg că a pune multe întrebări deblochează învățarea și îmbunătățește legătura interpersonală. În studiile lui Alison, de exemplu, deși oamenii își puteau aminti cu exactitate câte întrebări au fost puse în conversațiile lor, ei nu au intuit legătura dintre întrebări și apreciere. În patru studii, în care participanții au fost implicați în conversații ei înșiși sau au citit transcrieri ale conversațiilor altora, oamenii au avut tendința să nu realizeze că întrebarea ar influența – sau ar fi influențat – nivelul de prietenie dintre conversatori.