Active
Project:
Admin:hover
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Apr 2010 at 14:58 UTC
Updated:
21 Jun 2011 at 18:49 UTC
We use this module because it makes things very easy for our clients to edit their site content (including blocks with text). However, since the edit links appears on all blocks (including the primary links, views blocks etc.) it gets a bit confusing. The client can then see the edit link, press edit, but not edit anything there (if it's a views block for example), because they don't have the permission to actually edit the content of those blocks.
We'd really like the ability to include/exclude certain blocks from getting admin:hover links, perhaps via css selectors, or simply via block settings.
Comments
Comment #1
conortm commentedThanks, insats! I will definitely work on adding this feature. As you can see, I have some other bugs to work out first. Stay tuned...
Comment #2
criznach commentedHere's a template.php snippet I created to exclude admin:hover links from specific node types. It loads the node object, so it could be easily adapted to do more.
Add this to your template.php, replace THEMENAME with the name of your theme, and clear all caches. You should no longer see admin:hover on panel nodes (or whatever you specify in $exclude).