Closed (fixed)
Project:
Panels Everywhere
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2011 at 12:39 UTC
Updated:
31 Jul 2011 at 18:21 UTC
Hello,
I just tried to render a search API search page into a panel page using panels everywhere and the site template. I then noticed that we loose the search result pager when search api search page is rendered in the panels everywhere site template. If we then disable the site template for the search page, the pager is back.
Comments
Comment #1
drunken monkeyI don't think this can be counted as a bug report here, as I don't encourage people to do this. It sounds more like a bug in, or shortcoming of, the Panels Everywhere module, if that module promises that you can use normal sites in panels.
As I don't really know the module (at least not well enough to make any guesses here), maybe you should better create this issue in the Panels Everywhere queue (or move this one there). Post the relevant portion of the search page code (parts of
search_api_page_view(), I'd guess) there, and maybe they can tell you what needs to change.If you know that, and there is no downside to it, then I'd be happy to make the change in the Search pages module. Otherwise, I can't really help you there. (Although someone else might come along, who can.)
Comment #2
jbguerraz commentedThanks Druken Monkey.
Here is the concerned piece of code from the search api pages module page callback (which looks ok) :
Does someone here understand why the search api search result page pager isn't rendered when outputed in a panel using panels everywhere site template's ?
Comment #3
merlinofchaos commentedIs there another query (view?) on the same page which us using the same pager id? That could cause this.
Comment #4
jbguerraz commentedThanks Merlin for the answer.
I got 4 views on the same panel page, all these views displays a limited number of items.
Still, to fully answer you, I should know... how could I trace the page pagers IDs ?
Comment #5
merlinofchaos commentedIt'll be in the pager settings for each view. If any of them is using the pager 'full' or 'mini', then they'll have a pager id setting.
Comment #6
jbguerraz commentedSuper thanks Merlin. Indeed, one of the view had a full pager (useless one btw...), its ID was 0, it was the reason.
Comment #7
merlinofchaos commentedOh pager IDs. So hard to debug.