I haven't found any or any reference on the other issue queues, but it would be great to add contextual link to a node via panelizer. Is there a way? If not, it would be a nice addition to panpoly, probably doing it by a ctools content pane, similar to how the global; contextual link happens in views.

Comments

dsnopek’s picture

Status: Active » Postponed (maintainer needs more info)

What do you mean by "contextual link"? In the sense of the 'Contextual links' module from Drupal core? Or something else?

hanoii’s picture

Status: Postponed (maintainer needs more info) » Active

Exactly that, context inks from drupal core, some way of adding the contextual link that belongs to a node, as a content pane or something.

dsnopek’s picture

Hm. I look into this more later but I think you mightbe able to provide contextual links with page manager because they are registered with the menu system. I've never done it before though.

dsnopek’s picture

Status: Active » Closed (fixed)

Finally looked into this! It looks like this isn't possible with Page Manager, but I think it would be relatively easy to patch Page Manager to allow it. Basically, this is some extra configuration for the menu item in hook_menu() which Page Manager creates. So, you'd just need something in the UI to check and say "make this a context link" and it'd add the config for it.

But that's a feature request for the CTools queue! Closing here.

NWOM’s picture

@hanoii

Do one of these modules include the functionality that you are looking for?

Links Pane
Ctools Custom Link

They both support contextual substitutions, and one of them supports tokens as well.