I created a use case similar to the "Photo galleries with Views Attach" from Lullabot:

I created a CCK type "Gallery", fields "Title", "Description", and "File/Image", which is set to unlimited. I do it this with way (opposed to the example mentioned above which uses photo nodes holding a nodereference to a gallery node) because I need the gallery title and description translatable and the nodereference field will always reference a translation instead of the whole translation set.

For my CCK type "Gallery", in "Display fields" I set the image field to "exclude", so that it does not show in the full node. I want to use a Views Attach instead.

So I created that View, attached it to my "Gallery" type, using the "Language negotiation" filter, and as argument the nid of my Gallery. Works pretty fine: A Gallery node in full node view shows a nice grid of pictures and I can switch language so that Description and Title of my gallery change to its translation. Only disadvantage is that the pictures aren't nodes but link to a file, nevermind..

BUT the pager isn't showing! The views attached to the gallery node only shows the number of fields specified in the view, but no pager, even though I made the setting to use pager and AJAX.

Comments

jaochoo’s picture

Can no one help here?

watsonerror’s picture

I've seen this before but it was because someone wrote a pager function in the theme template.php with conditional arguments. Is this a base install of drupal?

Change the theme to BlueMarine to verify that the pager is not working.

watsonerror’s picture

I haven't tested this. but this might help: http://ayendesigns.com/content/6-where-my-drupal-view-pager

It suggests here that the comments on the page also use pager and that the element ID needs to be adjusted in the view config.

pindaman’s picture

pager is disapeared after update to 6.15 and some modules.
it used to work prefect

eaton’s picture

Status: Active » Postponed (maintainer needs more info)

Agreed that there are a number of reasons this might occur, and most of them are out of Views Attach's control. Updating Drupal and a number of other modules introduces quite a few variables - are there any details on what ones were updated? Did drrhino's suggestion in #3 help?

todd zebert’s picture

I'm having the same problem and doing exactly what jaochoo is doing, with the exception of no Language component.

I'm tried every combination of pager type and ajax setting and element setting. Tried Garland, flushing all the caches, changing site optimizations/caching.

The link in #3 is invalid and now seems to be at: http://stackoverflow.com/questions/2014759/where-is-my-drupal-view-pager . It's missing from both default and Node Content previews, and of course the real node view. I've recreated the view, ran cron, update, tried comments on/off and disabled (they work fine BTW), etc etc. I have Drupal 6.19, MYSQL DATABASE 5.0.91, PHP 5.2.14.

I also found this link on pager issues with NID arguments http://drupal.org/node/754906, but the hack didn't work for me.

It's a very simple view:

Node Content Display
node type: photo_gallery
build: full, arguments: nid
Arguments: Node:Nid, display all values, basic validation: hide view/page not found
Fields: Content: Gallery Colorbox: gallery_thumb image
Style: Grid
Row: Fields

Any help/suggestions would be greatly appreciated!!

egrigolon’s picture

I have the same problem here. No solution so far.

LarsKramer’s picture

First, I think this issue could be closed marked as a duplicate of http://drupal.org/node/754906

Second, I would like to describe a workaround I found for a specific use case which I believe is similar to the one described above by jaochoo.

I have a content type called story with an imagefield allowing for upload of multiple images. In the full node view I wanted only the first image shown (between title and body), but with a pager below the image allowing the user to see the other images of the node. Instead of using Views's built-in pager, I installed the Views Slideshow plugin, which also has a pager option, which does work.

kbk’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Taking the liberty to mark as dup of #754906: Views pager disappear if I use an argument as I had the same issue and the documentation in the referenced issue covers about everything.

For the record, here's another dup #925200: Still an issue with Pagers and Node ID as parameter