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.
When hovering over a block generated by Views 2, an "edit view" link appears on top-right corner. It uses URL building pattern for Views 1. in views two, blocks are being defined as new displays, and edit links have a different format. I've took a look into Views 2 theming files, but so far could not find a way to rewrite function zen_preprocess_block() in such a way that it will detect view name and view display name/url.
Comment | File | Size | Author |
---|---|---|---|
#5 | zen-views-block-link.patch | 1.17 KB | JohnAlbin |
#2 | zen_edit_view.diff | 915 bytes | dalin |
Comments
Comment #1
JohnAlbinGood point! Thanks for the heads up.
Comment #2
dalinIt's a simple fix.
Comment #3
yoroy CreditAttribution: yoroy commentedGentle bump from a non-coding non-patch applier. ZenViews love FTW.
Comment #4
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedtested and confirmed to work. thx.
Comment #5
JohnAlbinTurns out the patch work when the view has multiple blocks in it. Here's the corrected patch that I committed. http://drupal.org/cvs?commit=168507
Thanks for the bug report, patch, and review! I love it!