Hi,
I've got Drupal 7.22, Views 7.x-3.7 and Views PHP 7.x-1.x-dev
My Existing view has 16,000 Users in a Table format, with a Grouping Field, 3 relationships to other Profile2 types and a pager. I add a Views PHP field (just as a field, not a filter) and the pager disappears. The Views PHP field works brilliantly (thanks!) and is just what I needed, but I can't live without the pager of course. I use the Views PHP field as my only Grouping Field.
Things I've tried to get my pager back include:
- changing from full pager to mini (and others)
- deleting and re-adding the pager
- removing the Grouping Field
- clearing the cache
- changing the Pager ID within the pager
- rescanning the template files (none are altered from standard)
- putting different code in my Views PHP field including just blank code for the Value and Display sections
- cloning the view (which is how I discovered it was the Views PHP field that was causing the trouble, by deleting and re-adding it)
- moving the View PHP field to the start of the row, or to the middle
- removing all filters
- removing all sort fields
- removing all Access Restrictions
- I am working as User 1
- tried both in Preview and on the site
- different browsers
- Using Firebug, there appears to be no HTML being printed for the pager, so don't think it's a CSS issue
Basically I am left with a simple User-based View with no relationships, 1 column as the Username, 1 as the View PHP field and have no pager.
I'm not sure what else to try for this common scenario - does anyone have any other ideas I could try?
Thanks,
Andy
Comment | File | Size | Author |
---|---|---|---|
#8 | views_php.zip | 19.28 KB | RahulRehan |
Comments
Comment #1
andy_g CreditAttribution: andy_g commentedquick update - also tried changing from table to 'unformatted list', but didn't help.
Comment #2
sfcamil CreditAttribution: sfcamil commentedHy, I have the same problem. You found a solution for this ? Thank's
Comment #3
Colin @ PCMarket CreditAttribution: Colin @ PCMarket commentedI am also experiencing this issue
Comment #4
mikemadison CreditAttribution: mikemadison commentedI believe this is a dup of https://drupal.org/node/2123315
Comment #5
mikemadison CreditAttribution: mikemadison commentedComment #6
happysnowmantech CreditAttribution: happysnowmantech commentedThe bug in question will also cause the More link to disappear.
Comment #7
Lingaraj_M CreditAttribution: Lingaraj_M commentedThis link may help you - https://www.drupal.org/node/2276165
Comment #8
RahulRehan CreditAttribution: RahulRehan commenteduse the attached module. I had remove the bugs in the module...
after using this pager will not disappear...
Currently I am using on my site. have a look http://www.pathankot35.com/
Comment #9
bmango CreditAttribution: bmango commentedMany thanks Rahul for your updated module in #8. I uploaded it to my project and it did indeed fix the problems with the pager. That was very helpful. However, there are now two versions of the Views php module, yours and the developers. This is likely to cause issues, particularly as the developer releases new updates. Would it be possible for you to provide a patch to the developers module in place of your own updated module? Then your changes could possibly be included at a later stage in the "official" module. If you provided a patch it would really help all the people using this module.
Comment #10
jlyon CreditAttribution: jlyon commented@bmango, see the patch in https://www.drupal.org/node/2123315#comment-9668971 that @lalweil linked to above. It fixed the issue for me.
Comment #11
bmango CreditAttribution: bmango commented@jlyon thanks for pointing that out, I must have missed that comment somehow, probably trying to read too quickly :)
Comment #12
DarrellDuane CreditAttribution: DarrellDuane as a volunteer and commentedThis issue seems to be resolved in 7.x-1.0-alpha2 see more details at https://www.drupal.org/node/2123315