I am using Drupal 7.15, and the latest beta version of DS 2.x, as well as the latest versions of CTools and Panels.
I have set up my search settings so that it uses the DS Content search as the default display, and configured the Search Results displays of my nodes. When I try it out, everything works as expected.
However, if I override the DS Content Search page using Panels, things break down quickly. Even if I do a simple override and add the Search Form and Search Results to the content area, I cannot get any results returned. Instead, I get a message saying that nothing was found, despite that fact that those same search terms yielded results before the Page override.
I have cleared my caches and searched the issue queue, but could find nothing on this issue. What am I missing?
I'm not using it, but for instance: If a user is using panelizer to customize everything, this would make search results/pages the only thing one couldn't customize, leaving them without additional sidebars, menus, footers, headers, etc. I can't see that flying for any developer. I guess this is where custom Search API pages come in?
Comments
Comment #1
swentel CreditAttribution: swentel commentedThere's no support out of the box for search via those panes.
Comment #2
brycesenz CreditAttribution: brycesenz commentedOk. I appreciate that quick response and the clarification, but that's exceptionally confusing.
Specifically, why have a search page exposed to Panels if there's no way to populate the search results within that page?
Comment #3
swentel CreditAttribution: swentel commentedWell, that's a pane that ctools/panels exposes, not ds.
Comment #4
tommybyskovlund CreditAttribution: tommybyskovlund commentedjust went through the exact same scenario (one year later :-) - are there any recommendations on how to show ds search results on a Panel page, or?
Comment #5
tommybyskovlund CreditAttribution: tommybyskovlund commentedComment #6
aspilicious CreditAttribution: aspilicious commentedI'm not planning to build this kinda functionality ever in DS.
In order to keep the module maintainable, I'm closing this now.
Feel free te reopen this one once there is an actionable patch.
Comment #7
deanflory CreditAttribution: deanflory as a volunteer commentedYeah, this is really annoying since those panels show up in Page Manager and allow one to Enable them. Just went through this and put together panes for 4 different search types, all of which don't work. Not sure how, but those templates shouldn't be allowed to be enabled since they're not usable with any type of search: ds, node, file, user, page manager.
What is missing? Does the functionality for the existing "Search Results" pane not add-in what is necessary? Do each of these search types need to create their own custom panel pane to make them customizable?