Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Nov 2009 at 16:49 UTC
Updated:
21 Jan 2010 at 13:56 UTC
In a Panel, When you have multiple panes using the same Views but with different displays, the pane title only shows the view name, which makes reordering panes very difficult.
This simple patch address this problem by adding the display name after the view name.
| Comment | File | Size | Author |
|---|---|---|---|
| views.inc_.patch | 584 bytes | quadbyte |
Comments
Comment #1
sdboyer commentedYou need to set your editor to use spaces, not tabs, per drupal coding standards.
Fixed, and committed.
...but I'm still hankering for a solution that better handles the case where there are multiple instances of the same view pane. Really, though, that's a common problem across all panes (using the same one multiple times), and I need to patch the API to do something like use context identifiers in the pane titles to more easily differentiate.
Comment #2
merlinofchaos commentedMost types do put context identifiers in the title. It may be a case where the view title needs to be richer more than the whole API needing modification.
Comment #4
jason.fisher commentedYou just need to use the administrative name of the display, instead of the name of the view.