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 have a site with Drupal 8 and modules Flag and Message modules.
When a user creates a node, this creates a message.
I created a view for my home page that displays messages. I also created a "read" or "unread" flag to mark messages. By default, a new message is marked as "unread".
The logo of my site is present on all the pages and it even on the homepage.
I want to add the class .timeline-notification to my logo if the following conditions are applied:
I'm setting up a couple views that I intend to use a contextual filter with the taxonomy term name in the url. I've set the views up with a relation to pull in the the appropriate vocabulary and a contextual filter for that vocabulary. In the section "WHEN THE FILTER VALUE IS IN THE URL OR A DEFAULT IS PROVIDED" of the contextual filter I check the box "Transform dashes in URL to spaces in term name filter values" however if I stick a taxonomy term with a dash where a space should be in the url I don't receive any results. The view and contextual filter is otherwise working.