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 commentedGentle bump from a non-coding non-patch applier. ZenViews love FTW.
Comment #4
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!