Hi there,
I cannot get a view to show it's pager inside a Panel.
I have a view, which has the "Use pager" checked and "Items to display" set to 12. I have used the same settings under the Views Panels configuration (http://mysite/admin/panels/views). My "view type" is set to Page.
When the view is displayed alone, it shows its pager and I can browse through the pages if there are more than 12 nodes in the view.
I have added that view to a Panel Page. The problem is that the pager is not shown there. So even though I have more than 12 nodes in the view I cannot see them ;-(
Is this a BUG in the Panels module or I have missed some configuration option?
I am using Panels 2 Beta 2.
Thanks for your help!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | panels-views-pager_id.patch | 920 bytes | dropcube |
Comments
Comment #1
dropcube commentedProvide a Pager ID greater than 0, in either the panel-view general settings (admin/panels/views/edit/view-name) or in the specific content setting.
I will provide a patch to fix this issue.
Comment #2
dropcube commentedThe attached patch fixes it by adding 1 to the pager ID.
At views module, the pager ID is decremented by one again order to have the IDs start at 0.
Comment #3
dropcube commentedFixed.
Comment #4
kirilius commentedThanks a lot!
Comment #5
merlinofchaos commentedI'm sorry for not committing this patch individually so you could get CVS commit log credit. :/
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
Anonymous (not verified) commentedI'm sorry but this fix doesn't seems to correct the problem. On my site I can't see pager inside panels.
Comment #8
Anonymous (not verified) commentedI'm very sorry for the previous - as you may think the mistake was in me. I forgot to check the pager in The panel view. Everything is ok now.
Comment #9
usapmaster commentedtry to assign pager ID when adding the block in the content under panel. I was having the same problem and then i put "1" under pager ID (1, since this is my first and still trying to figure out drupal), and it worked. Goodluck!