Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After creating a page view for my photo gallery. The page title is not displayed in the tab in the browser. I have had a look at the page title module but unfortunatly this is not available in drupal 8.
Please can anyone help.
Kind Regards,
Jonathan
Comments
Comment #2
sagesolutions CreditAttribution: sagesolutions commentedI am elaborating on this ticket, because I am having a similar situation.
I have a students view, and I am using a taxonomy term as a contextual filter to display only students enrolled in a certain program.
In the contextual filter, I checked the "Override title" box and updated it with "Students in {{ arguments.tid }}"
I setup path aliases /students/7 to /students/engineering
I setup path aliases /students/8 to /students/arts
The view works great and I can go to /students/engineering or /students/arts etc. and view the correct list of students.
The H1 title on the page /students/engineering gets set to "Students in Engineering"
The H1 title on the page /students/arts gets set to "Students in Arts"
So far so good!
However, the tag of the page is using the Title field (None). It looks like the contextual filter is not overriding the tag, where in D7 this was the case.
So, my looks like "| Site name"
Instead, I need it to look like "Students in Engineering | Site name"
Comment #3
sagesolutions CreditAttribution: sagesolutions commentedComment #4
LendudeMoving to the right queue. If I read #2 correctly, this sounds like another duplicate of #2645442: Can't use a taxonomy term name as the value for a contextual filter in a view
Comment #7
jonathanshaw