Closed (fixed)
Project:
Panels
Version:
6.x-3.7
Component:
Views panes
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2010 at 05:18 UTC
Updated:
16 Jun 2014 at 16:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mehoo462 commentedI'm having the same issue.
In the pane settings I see the Category Option, which I have set to "View Panes." The help text reads: "This is category the pane will appear in on the add content dialog." But I don't see that content on the add content dialog. I've flushed my caches to see if that heps, but no luck.
Luckily using the Block display seems to get me the results I need. What is the "Content Pane" display type for anyway?
Comment #2
merlinofchaos commentedStrange. I haven't had a problem with content panes showing up in my test system.
One note: If you've set one of the arguments to require a context, and that context is not available in your display, then the item won't show up there. Could that be the problem?
Comment #3
mehoo462 commentedThis seems to have resolved itself with some cache flushes.
Comment #4
merlinofchaos commentedBecause of the way available content is restricted, the actual available content is cached during the editing process. IF you have a panel that is currently being edited, and then add a content pane, that content pane will not appear until the edits are saved or canceled.
Comment #5
andrew_k commentedSorry im not sure if we are talking about the same issue here. When I click on the views tab in the add pane dialog then select a view, the display dropdown is not populated with the necessary displays. It is only showing the default option. I have attached a screenshot as an example.
Comment #6
merlinofchaos commentedContent panes are not listed as available displays when using the generic 'view' add. They show up as their own content types. The reason for this is that content panes have a large list of view specific options that are ignored if you use the generic view to display them, which makes people think that there are bugs.
Instead, go to the category selected in the content pane settings (defaults to View panes) and look for your view there. It will be named whatever was configured in the settings in the view display, and defaults to the view name if that setting was not updated.
Comment #7
andrew_k commentedThanks, I had been having problems with adding views panes to panels which is why I had been using the standard views option. After looking further into the pane settings options though it is making alot more sense. Allowing settings to be passed through to the pane was the key feature I had missed.
Comment #9
liquidcms commentedreopened, changed title and rev to bring up to date.
I think i understand how this is supposed and i think this is still a bug.
I have a View which has 3 displays added as type Content Pane: http://screencast.com/t/M2QwNGM2Z
when i go to add content to my pane i select View Panes but only see the default view listed as an option: http://screencast.com/t/NmM2ODU0MWY
Comment #10
merlinofchaos commentedYour screenshots hold only the configuration of the 'defaults' which do not include the category information on the content pane, so there is not enough info.
My immediate guess, though, is one of two things:
1) There views are configured to be in a different category
2) You haven't saved the panel since you added the displays to the view. Available content is cached while a pane is being edited.
Comment #11
merlinofchaos commentedWhatever you think you see, if it's under 'View panes' it is definitely not the default view and is one of the content pane displays there. Default views do not show up individually in the content.
Comment #12
liquidcms commentedwell View was definitely saved numerous times and all caches flushed a few times as well.. plus in other places (like adding a view into Quicktabs) i do see the different displays.
but category could be the issue.. especially since i have no idea what that is... lol
Comment #13
liquidcms commentedahhh, ok.. got it.. http://screencast.com/t/YjI3ODBhMzIt
the Category is set to View panes, cache has been flushed numerous times, view has been saved... yet under View panes... only the name of the View shows up and none of the displays that have been created with display type Content Pane..
i can get this to work with display type Blocks just thought Content Pane was the way to go; but i think in the past i have thought to use content pane type and never had any success with it then either.
Comment #14
liquidcms commentedjust on a whim i thought i would try to change the Category to something other than View pane os i changed them all to Test... and sure enough i now get Test showing up as a category of content i can add to my mini-panel: http://screencast.com/t/N2ZlMTA0
but alas, still only the name of the view listed there and none of my added displays
Comment #15
merlinofchaos commentedPlease give me screnshot of the configs of the other two panes.
The pane you show is configured to use the view name and description and show up in View Panes. Indeed, an item with the view name and description shows up under View Panes. How are the other two displays configured?
Comment #16
liquidcms commentedpretty sure they are setup the same:
http://screencast.com/t/MDljOTAzZj
http://screencast.com/t/NmNlMTU3M
please let me know if i can give you anything else such as access to live site or a view export - i'll update live server and send link/access in email in case thats of any use
Comment #17
merlinofchaos commentedWell, to start with, those are set for the category 'Test' not the category 'Views panes' so they clearly would not show up in the category you're looking at.
In your screenshot you do not have a category 'Test'. Again, please make sure you the Panel is not in a locked state after you save your View, as per the second item in #10.
Comment #18
liquidcms commentedas i has said in #14 and as a test i changed the category of all 3 displays to Test.. and they should then show up their when adding content into my panel.. i can put them back to View pane; as it was.. but makes no difference.
Panel and Views are not locked and cache has been cleared. I will try going through the whole thing again but i think at this point best to use Blocks rather than Content Pane as i am sure there is an issue here but not clear as to what the factor is that is causing Content Pane to not work as a display. Will keep an eye on this as new revs come out for both Views and Panels.
thanks for your help,
Comment #19
merlinofchaos commentedI disagree. I assure you, I use this feature all the time. My belief is that the content pane is the only way to use Views together with Panels, and if you're having a problem I want to resolve it.
I just took another look at your screenshots and I see something I missed. I notice you have an argument defined.
For each of your content pane displays, click on Argument input: Edit -- how are the arguments configured to get their input?
If the setting is 'from context' it could be that there is no context available to give to the pane, which would cause it not to show up as content.
Also, change the Admin Title on each of the displays to something *other* than the view name. That way you'll be able to tell which of the 3 displays is showing up. You keep saying that none of your added displays are showing up there, but this isn't actually true (as I've tried to say) because the default display never shows up in the Add Content dialog by itself, ever.
Comment #20
liquidcms commentedok, it works.. :)
this is what i did:
- changed Category off all of them back to View pane (i am sure this makes no difference)
- changed Admin title to the name of the display (i am sure this was the issue - they cant ALL use View name)
- arg was set to "no arg"; i changed this on a couple of them... but then set back and didn't matter (i.e. it worked regardless)
whoo hoo.. maybe wouldn't hurt to have validation saying they can't all have same name? or maybe default to the Display name.. but that could be Content pane for all of them by default.
Comment #21
merlinofchaos commentedI'll doublecheck that. It's possible that the default should not be just the view name or something as well.
Though. Now that you mention it, I think I *do* key on the category + name combination, so that could be a bug that's causing them all to collapse. And that's a bad thing. Hmmmmm.
Comment #22
liquidcms commenteddefaulting to display name doesn't seem like too bad an idea.. much more likely to be unique than the view name (which will always be the same). or possibly no default and required to be filled in.
Comment #23
merlinofchaos commentedWhoops this shouldn't be nmi anymore; I now understand what is wrong and how to fix it.
Comment #24
merlinofchaos commentedA simple typo was causing non-unique content (of any type) to disappear. Fixed that bug.
It may be a separate issue that the default naming of view content panes could probably be improved. I'm not quite sure of what the best thing to do is, though.