Closed (outdated)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
25 Oct 2010 at 06:18 UTC
Updated:
25 Feb 2016 at 04:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mstrelan commentedDuh, I'm an idiot. If anyone is as dumb as I am go in to the view, under pane settings go "allow settings" and untick "fields".
Comment #2
merlinofchaos commentedI don't think that's dumb, it makes sense that you did that and didn't get the result you expected. I'll keep this in mind in the future when thinking about ways to make the UI better. Thanks for the feedback, this is valuable.
Comment #3
esmerel commentedAfter further discussion with merlinofchaos, we determined that one way to solve this is (for view panes, at least) is to add an on-by-default checkbox to automatically propagate newly added fields to the view pane.
I don't know that this solves the problem when you're going with "All views can be seen by panels", but it's at least a start.
Comment #4
merlinofchaos commentedThis would be a CTools patch.
Comment #5
dawehnerHere is a first patch.
TODO:
* Use dependency for the ui. If display all is checked the other fields should be hidden automatically.
Comment #6
merlinofchaos commentedI don't think this patch is quite what we're looking for here.
The checkbox more or less should be a checkbox that controls the behavior of fields that weren't selected.
Let's say I have a view with fields Foo and Bar and Fields Override was checked.
The user added a pane and selected 'Foo' and not 'Bar'.
Later on, I go and add 'Baz' as a field.
This checkbox should control the behavior of 'Baz' because the pane doesn't have a configuration item for it at all.
What that means is that the actual configured value for each field in the pane is:
Yes. No. Unknown (i.e, a selection has never been made). The checkbox, then, is how to be have if 'Unknown' was the answer.
Comment #7
mstrelan commentedI actually prefer the behaviour of #5. To enhance that it would be awesome if when you added a new field (baz) in the view a little message appeared somewhere saying "xx panels are overriding the display of fields in this pane, you may need to update the field settings"
But what you're suggesting in #6 may also work, I think I'd have to play with both to decide.
Comment #8
merlinofchaos commentedThe implementation of the content system makes this actually impossible to know. There is no single place where this data is stored to query against. So you cannot do that.
Comment #9
merlinofchaos commentedOkay, I agree with the approach in #5 as well. Let's put my comments in #6 in addition to #5.
Comment #10
japerryClosing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)