I get the context editor slide out from the left side in Bartik, but when I set any other theme including Garland as the default theme then I dont see it. When I click on Manage Layout contextual link the page refreshs but I dont' see the slide out. Any ideas? Tested on two environments.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SylvainM’s picture

You are not alone, I have the same problem

Dret’s picture

Same problem for me.

I'm using a personal theme and when i click on contextual link button fo manage layout the page refresh but nothing appear (and the button disappear from menu).

Thanks!
Bye.

brad.bulger’s picture

Version: 7.x-3.2 » 7.x-3.x-dev

It looks as if the issue is that context_ui_dialog.js depends on #page being a valid selector. There is a DIV with an id of "page" in Bartik, there isn't one in Garland. If you enclose the contents of the page.tpl.php file in Garland with <div id="page"> ... </div> the Context UI editor appears.

tekante’s picture

Status: Active » Needs review
FileSize
2.27 KB

Attached is a patch which makes the selector configurable on the context settings page and gives a warning if an element to attach to isn't found for you to try out. For garland, it looks like #container may be the appropriate selector.

brad.bulger’s picture

This worked for me - set the selector to "body".

vulfox’s picture

What would be a pretty fool proof default? Body?

I sometimes set body to be narrow and use html background to avoid divs