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.
Even though I have the Contextual Links module enabled for my site, contextual links aren't showing when I hover over views or blocks...
Comment | File | Size | Author |
---|---|---|---|
#1 | allow_contextual_links-1972308-1.patch | 1.25 KB | BWPanda |
Comments
Comment #1
BWPanda CreditAttribution: BWPanda commentedThe reason for this is the lack of title prefix and suffix variables (where contextual links are added).
This patch adds the title prefix and suffix back in which makes contextual links display.
Note that I also needed to add in the $classes variable for blocks so the contextual links work properly.
Also note that I added the page title prefix and suffix down near the content (as opposed to up near the title) as doing the later made the contextual links display in the very top-right corner of the site (which makes them very hard to find).
Comment #2
jptaranto CreditAttribution: jptaranto commentedThanks for the patch, it's been added to the latest version of 7.x-dev.