If I click to add a new pane to a panel > then select "Menus" on the left from the Panels dialog > then choose "MenuName Menu Tree" > save the panel. Note "MenuName" can be any of your menu names.

The menu displays correctly, but there is no contextual links cog. The code for the contextual links isn't printed in the html.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zmove’s picture

I can confirm the problem.

alexshipilov’s picture

I created the patch for this issues. Apply it or try to use that code in your custom module or in template.php .

alexshipilov’s picture

Status: Active » Needs review
gmclelland’s picture

Status: Needs review » Reviewed & tested by the community

Works for me. Thank you

Dave Reid’s picture

gmclelland’s picture

@Dave Reid - That issue provides links when using the Panels standard editor(when editing the page on the backend).

The patch in this issue provides the missing contextual links on the frontend when simply viewing the webpage.

Dave Reid’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
2.3 KB

Ok let's try this instead. There's no reason to add a new hook, but just re-use existing stuff instead.

Dave Reid’s picture

Status: Needs review » Fixed

Confirmed #7 works and doesn't regress the existing block contextual links. Committed to 7.x-2.x.

  • Dave Reid committed 79b691b on 7.x-2.x
    Issue #2315201 by alexshipilov, Dave Reid: Fixed contextual links...

  • Dave Reid committed 79b691b on 7.x-2.x
    Issue #2315201 by alexshipilov, Dave Reid: Fixed contextual links...

Status: Fixed » Closed (fixed)

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