All views but one avalible to make pagers for...

ElleKitty - April 29, 2009 - 05:35
Project:Custom Pagers
Version:6.x-1.10-beta1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm in the process of converting my portfolio site to Drupal. So far I have several grid views of images (with requisite CCK type) and each of them has a pager. I'm adding a blog-like "Sketchbook" to post WIPs in. I've made the view for the sketchbook as a simple node list and have it displayed as a page. However unlike the gallery views, the sketchbook view doesn't show in the list of views avalible to make custom pagers with.

Can offer more info given the right questions. Site in progress is http://www.themindstream.net/sandbox/drupal

#1

R.Hendel - June 29, 2009 - 08:11

I can confirm this.
Two of my views are not shown in select box.
I cannot detect a pattern, why most views are shown and some others not.
These views are "normal" node-views and using no arguments.
Has anyone an idea?

Thanks in advance,
Ralf

#2

ahoeben - October 15, 2009 - 07:56

In custom_pagers_form() (in file custom_pagers.admin.inc), the module checks to see of the view has output fields set. Does your view use the "Fields" or the "Nodes" row style?

      if (!empty($view->display['default']->display_options['fields']) && $view->base_table == 'node') {
        $options[$view->name] = $view->name;
      }

What worked for me as a workaround was to switch the view to "Fields" rowstyle first, add some fields to the view, and save it. Then you can select it in custom pagers admin. Once the view has some fields added, it looks like you can change the rowstyle back to "Nodes".

#3

ElleKitty - November 4, 2009 - 16:34

Thanks, the workaround did the trick.

 
 

Drupal is a registered trademark of Dries Buytaert.