When I try accessing admin/structure/context I get the contents of admin/structure. Looking at Context UI module code, I can't find an entry for admin/structure/context in hook_menu().

I tried running the Context UI tests and the ones that try to create a context fail.

Am I missing something or is the Contest UI module not yet ready for testing?

CommentFileSizeAuthor
#5 context-n933946.patch5.28 KBdamienmckenna

Comments

recidive’s picture

Status: Active » Closed (cannot reproduce)

Ok, I've upgraded Drupal core and some module to their latest versions and now I can use Context module user interface.

Daniel A. Beilinson’s picture

Priority: Normal » Critical

There is no context UI for D7 beta. That's true.

Daniel A. Beilinson’s picture

Status: Closed (cannot reproduce) » Active
damienmckenna’s picture

Currently the D7 branch still uses the old path "admin/build/context" from D6. The thing is that D7 changed all of the "admin/build" paths to "admin/structure", so Context_UI needs to update its path.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new5.28 KB

Try this for size. This changes all menus & links to "admin/structure/context".

Jackinloadup’s picture

Patch in #5 worked for me. Thanks Damien

dave reid’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

yareckon’s picture

Thanks, works. could we get a new beta with this and a couple of the other 7.x. patches rolled?

recidive’s picture

Please commit this patch. Context module is not usable without this.

yhahn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

I ran into this same issue with alpha3, which has this patch committed. Turned out for me, that in order for context_ui to show up in /admin/structure, you have to also enable context_layouts.

Renee S’s picture

[wrong issue :) ]

liminu’s picture

same problem, subscriving

joostvdl’s picture

Version: 7.x-3.0-alpha2 » 7.x-3.x-dev
Status: Closed (fixed) » Active

The problem still is there in the latest dev version. Only after enabling the context_layouts module the context_ui is shown in the admin.

joostvdl’s picture

Also the /admin/structure/context/settings is empty

febbraro’s picture

If you clear cache from drush or Configuration -> Performance does it now appear?

This isn't related to context_layout, that is a red herring, more than likely if just got picked up when you enabled it b/c adding anew module causes the menu system to rebuild the menu.

joostvdl’s picture

After clearing the cache with drush, the menu item appears

febbraro’s picture

It looks like if you enable context and context_ui at the same time the menus dont appear. If you do them individually then the UI does appear. Might also have to do with the fact that D7 Context UI switched to using the Export UI from ctools which handles creating basic menus, could be some timing thing with ctools export ui.

tekante’s picture

Assigned: Unassigned » tekante
tekante’s picture

febbraro’s picture

Status: Active » Closed (won't fix)

Since this is a ctools bug we wont be implementing a fix here. For now the workaround is to either enable context_ui individually or clear caches.