Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If you create a node template using Panels for a given node type, when you view that node, you can no longer access the "Edit", "Delete" contextual links that would normally be there when viewing a node.
Proposed resolution
Have the panel contextual links include its own links as well as those for the element being displayed (ex: "Edit" and "Delete" links on node templates). That way the quick access to those functions remains.
Comments
Comment #1
Letharion CreditAttribution: Letharion commentedThat sounds like a good suggestion. I'm putting it in postponed though, awaiting someone to start work on it.
Comment #2
bryancasler CreditAttribution: bryancasler commentedI'm looking for a similar solution. To demonstrate the use of this I just filmed a screencast showing my setup.
http://screencast-o-matic.com/watch/clVt38yz7
Not sure if this is related or will actually help, but views has a patch for field level contextual links from January 17th 2012.
http://drupal.org/node/1019486#comment-5481724
Letharion, what kind of work do you think would be involved to make this happen? I may be able to pony up a small amount of cash out of pocket if the labor isn't substantial.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedThere are two ways to approach this.
The task can add the contextual links. The downside here is that it's not reusable.
The context can add the contextual links.
Doing this would be valuable, but we would need to ensure there's a setting. You don't want every context having contextual links, just a primary context.
Comment #4
bryancasler CreditAttribution: bryancasler commentedI try my best to provide first class feedback. Let me know if there is anything I can do to help.
Comment #5
caschbre CreditAttribution: caschbre commented@merlinofchaos... can you expand upon the two options you mentioned? This is something my project is interested in and may try to tackle.