Active
Project:
Admin
Version:
6.x-1.0-beta3
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2009 at 21:38 UTC
Updated:
22 Oct 2010 at 21:14 UTC
i don't want the block hovers on my site for any users, including myself when logged in as uid 1. how do i turn it off?
Comments
Comment #1
jrefano commentedupdated title to be more accurate. i see the permissions, but im logged in as the master user, and i cant get rid of the inline stuff. it's causing issues for my theme. how to turn off?
Comment #2
jrefano commentedupdated title to be more accurate. i see the permissions, but im logged in as the master user, and i cant get rid of the inline stuff. it's causing issues for my theme. how to turn off?
Comment #3
m.stentaCSS Workaround:
div.admin-inline {display: none !important;}The code will still be added to the page, but it won't show up.
Comment #4
jrefano commentedwell, thats easy enough -- im going to change this to a feature request, as it'd be nice to see this in the UI.
Comment #5
decipheredI second this request.
Edit: While the above CSS does stop it showing, the reason I want it removed is due to some of the styles it inserts (position: relative) breaks my design for uid1, so the damage is still being done.
Comment #6
aaron stanush commented+1 Unfortunately, a lot of design happens while logged in as user 1, so it's helpful to be able to disable this.
Comment #7
aaron stanush commentedFrom readme.txt:
You can now disable inline editing by adding the following line to your theme's .info file:
*Correction*
However this will disable this feature for all users on the site, not just UID 1.
Comment #8
kevinquillen commentedI've been looking for a way to do this.
Question though, why do you have to do it in the info file, and its not configurable through the website?
Comment #9
mikey_p commentedadmin[admin_inline] = 0
doesn't seem to work at all.
I would normally expect things like this to only show up after refreshing the module/theme cache from visiting admin/build/modules or admin/build/themes, but since this theme is a hack, it seems to be impossible to refresh this.
Why is slate not a separate theme?
Comment #10
kevinquillen commentedThere is a permission rule for 'admin-inline' but it seems to persist for UID 1, at least for me.
Comment #11
mikey_p commentedgh0st25, that's how Drupal permissions work, used id 1 always is granted access to every permission.
The real problem is that because of the way this theme is included with a module, there is no way to force a refresh of the theme info, without deleting it directly from the system table.
Comment #12
kevinquillen commentedThen how would you turn it off?
Comment #13
tim.plunkettadmin[admin inline] = 0worked for me. space, not underscore.
Comment #14
kevinquillen commentedShouldn't have to do that though. It should be a flag in the interface, not putting a flag in the .info file.
Comment #15
kevinquillen commentedadmin[admin inline] = 0Doesn't work for me.
Comment #16
aaron stanush commented@stripped your speech: Make sure you clear your theme registry every time you modify your theme's
.infofile* I also changed the issue title to be more descriptive
Comment #17
tim.plunkettIt still persists for UID 1, even with admin[admin inline] = 0
Comment #18
Daniel Norton commentedNone of the above worked for me, but adding this to my theme’s CSS file did:
(Yes, almost the same as #3 above, but the class name is different.)
If you want to get rid of the HTML completely, you can add this to your theme's template.php (replace “THEME” with your theme’s name):function THEME_links(&$links) {
if (variable_get('THEME_links_disable',TRUE)) {
$links = array();
}
}
You can turn it back on by setting THEME_links_disable to FALSE.[No, that removes links added by other components, too. —DN]
Comment #19
tim.plunkettI added this to my preprocess functions
$vars['admin_links'] = '';Comment #20
traviscarden commentedAdding
admin[admin inline] = 0to my theme's .info file works for me once I visitadmin/themes/selectto refresh it. I agree, nevertheless, that there ought to be an option to do this through the GUI.@mikey_p: The module maintainers apparently realized the error of their ways with Slate, as you can see on the module page: "The 2.x branch no longer recklessly smuggles a theme into your install through a module. You can use admin with the theme of your choice. The "slate" theme previously included with admin has been discontinued -- instead, our admin theme and icon design work continues in Rubik."
Comment #21
kevinquillen commentedYeah, but the new Rubik theme doesn't gel for me too much. The slick animations and javascript can bog down the browser performance especially on different hardware.
Comment #22
RavenHursT commentedSeriously? This feature has been sitting here for OVER a year? How hard can it possibly be to add a checkbox to the admin module to allow for the display of these things or not?? I'm going to look into this. My first module edit and patch.. here I go, wish me luck!