Closed (outdated)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Plugins - styles
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Feb 2011 at 12:21 UTC
Updated:
13 Jul 2026 at 21:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Kat_Sweden commentedThanks, this worked for me too
Comment #2
Letharion commentedNeeds to be made into a patch.
Comment #3
matulis commentedThis is still an issue with 7.x-3.2
Comment #4
colincalnan commentedThat patch did not work for the 3.x-dev branch or 3.2.
This should do the job for both.
Can this please go into the next release!
Comment #5
merlinofchaos commentedpatch (to be ported) means there is a patch for another version of the module (usually Drupal 7 -> Drupal 6) that needs to be backported.
You want 'needs review'.
Comment #6
merlinofchaos commentedpatch (to be ported) means there is a patch for another version of the module (usually Drupal 7 -> Drupal 6) that needs to be backported.
You want 'needs review'.
And in a quick review of that patch, I think it will add broken links for any pane that is not actually a Drupal block. So as it is, it can't be committed.
Also note that Panes come with their own sets of contextual links, which will include those provided by block.module. So we should be using those. See the code in template_preprocess_panels_pane() which handles htis. Presumably that code could be generalized and re-used so that both pane styles can utilze it.
Comment #7
wickwood commentedWhile looking for a solution to this old issue I found https://drupal.org/node/1925460 and marked it as a duplicate of this one.
Comment #8
wickwood commentedMerlinOfChaos is (of course) correct, the patch in #4 does break links for any pane that is not actually a Drupal block by replacing all contextual links for any panel that styled as a system block with "Configure Block".
For example, a Menu panel styled as a system block without this patch will have the contextual links of "Lists Links" and "Edit Menu", but with this patch the only contextual link for that same panel is "Configure Block".
A Custom Block pane without this patch doesn't have any contextual links at all, but with the patch you have the contextual link of "Configure Block".
It should also be noted that Views Panes don't have contextual links either, but that issue can be solved without breaking any other contextual links by patching Ctools as discussed on https://drupal.org/node/1669756 but this still leaves the Custom Block panes without any contextual links.
What I find hard to believe is that this issue is so old and no one else has had problem with this or figured out a solution to it yet. If there is a solution, I have not found it yet and believe me I've searched and I searched. I'm beginning to think that there is something within Panels itself that will prevent this for Custom Blocks styled as System Blocks, but I haven't found anything saying that either.
If find a solution (or create one if I can), I will post back of course, but if anyone actually knows of a solution to this, please point me in that direction!
Thanks in advance!
Steve
Comment #9
japerryDrupal 7 is no longer supported, closing.