I am trying to re-enable my admin hover over buttons which are not showing. Any modules or CSS that could be causing this issue?

Comments

pumpkinkid’s picture

Didn't mean to double post... sorry...

akalata’s picture

Status: Active » Postponed (maintainer needs more info)

Which "admin hover over" buttons are you referring to? What are your theme settings? Are you using a sub-theme? Changes to css could cause this.

pumpkinkid’s picture

The icons that allow for editing blocks and menus on the zen theme.. as you said, I thought CSS would have been the issue, but even stripping out the css using the dev tools for firefox did not let them show....

Yes I am using my own subtheme based off the Starterkit. I have also made sure to enable the option in the settings... no avail...

akalata’s picture

I have also made sure to enable the option in the settings.

Are these in the Zen theme's settings, or your sub-theme's settings? If you're not seeing them as an option in your sub-theme, you should check theme-settings.php within your subtheme and make sure that the functions have been renamed properly.

If you switch to using the base Zen theme, can you see them?

pumpkinkid’s picture

Sorry for the late reply, been a while since I got a chance to see the code again...

I remember having narrowed it down to that file and checked, and I did verify again for good measure against the same file on a working subtheme, however, I dod not see any discrepancies.... Any lines in particular to look at?

akalata’s picture

So, when you said "enable the option in the settings" do you mean settings[zen_block_editing] = 1 in your subtheme's .info file? That will set the default block editing setting, but that can be changed by the user through the UI at admin/build/themes/setting/subtheme. That is where you should check. :)

pumpkinkid’s picture

The "Show block editing on hover" option is checked...

as for the info file, I did see that it was simply the defaults, but checking it is set to 1 as well....

It seems as though the theme settings are not being stored.... any ideas?

akalata’s picture

These may seem like stupid questions, but will help diagnose the issue:

Just for clarification, the "show block editing on hover" is checked for your subtheme, yes?

Are the editing buttons showing up in your HTML? It will show up similar to the <div class="edit"> below:

<div id="block-system-0" class="block block-system region-odd odd region-count-1 count-1 with-block-editing"><div class="block-inner">
  <div class="content">
    <a href="http://drupal.org"><img src="/misc/powered-blue-80x15.png" alt="Powered by Drupal, an open source content management system" title="Powered by Drupal, an open source content management system" width="80" height="15" /></a>  </div>
  <div class="edit"><a href="/admin/build/block/configure/system/0?destination=admin%2Fbuild%2Fblock" title="configure this block" class="block-config"><span>configure</span></a></div>
</div></div>
pumpkinkid’s picture

Not at all, I don't believe in stupid questions when I apreciate the help!

Yes, the option is checked on my subtheme...

No, they don't show on the html... I have even striped all the css using firefox's dev toolbar and I still do not see the links...

pumpkinkid’s picture

I can't believe it took me since november to figure this out.....

It seems that somewhere along the road someone in my web team removed <?php print $edit_links; ?> from my subtheme's block.tpl.php ....

I feel so silly now, but I hope this ends up helping someone in the future!

akalata’s picture

Status: Postponed (maintainer needs more info) » Fixed

That'll do it, I'm glad you stuck with it!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

roseba’s picture

We have a problem where it shows for "super-admins" (permissions for everything), but not admins (permissions for a lot more than a typical user).

The HTML does reflect that we should be seeing the blocks as I can see:

block block-system region-odd odd region-count-1 count-1 with-block-editing

We are using a Zen subtheme.

I'm wondering if there is something in permissions that isn't turned on. If that is the case, we don't know where that checkbox would be.

andrenoronha’s picture

My hover links were gone after upgrade from drupal 6 to 7.
And I dont have the option to turn them on/off at my sub-theme config page.
Any help?

mikee’s picture

Issue summary: View changes

If the admin hover links do not show after updating make sure under Modules -> Core that the 'Contextual links' field is checked.