Using both my own theme with this as a base theme and using only this theme, contextual links are not showing when regions are hovered over.

I have checked to make sure that the Contextual Links module is enabled and that the code is being output in the right place in source.

I am getting a javascript error, however, on tabs.js, line 11.

TypeError: $ is not a function

As mentioned in http://stackoverflow.com/questions/12343714/typeerror-is-not-a-function-... this might be fixed by changing the $ to jQuery on this line.

When line 11 has the $ replaced by jQuery, another error shows on line 16. I've now replaced the $ on this line too. Now I'm not seeing any javascript errors, but still no contextual links either.

Comments

kiwimind’s picture

http://drupal.org/node/1821552 possibly related? I'll grab the dev version and let you know.

[edit] Sorry, no, the dev version does clear up the js errors, but still no contextual links. [/edit]

kiwimind’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev

Changing the version to match the above test.

blairski’s picture

Thanks. I'll hopefully have some time to look at the contextual links issue tomorrow.

blairski’s picture

I have identified the problem - the parent class for contextual links is missing. The links are actually there, but you can''t see them because of CSS positioning. I'm still working on a fix.

blairski’s picture

Status: Active » Needs review

I've committed a fix. Can you review (latest dev version)?

kiwimind’s picture

Status: Needs review » Reviewed & tested by the community

Yep, cool. All seems to be fine now. Thanks for that.

blairski’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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