After scouring the forums I'm unable to find the answer to a seemingly simple problem...

Can a Page view within Views 2 utilize Ajax paging? I've seen discussions of people creating modules or having to convert a view to a block but is this possible?

I'm using Drupal 6.16 and Views 6.x-2.10.

Thanks!

Comments

roxy317’s picture

Yes/No is an option in your view setup. And yes, it does work. :)

Roxy

milehighlife’s picture

roxy317,

You're right it does work! When I'm not logged in as admin (strange). But now I have a new problem...

I have a Gmap attachment inheriting arguments from the page view--working fine when I was logged in as admin--that is no longer showing up and is now displaying an error message "Javascript is required to view this map.".

In summary...when logged in as admin, ajax paging doesn't work on page view list, Gmap attachment view (with markers) does display properly and inherits arguments from page. When logged in as authenticated user (not admin), ajax paging does work, Gmap attachment does not (replaced by "Javascript is required to view this map.").

Going to check permissions, not sure where else to look.

roxy317’s picture

it is a permissions problem. :)

Roxy

milehighlife’s picture

So,

Not sure if it was permissions but strangely, when I refresh the page, the map appears underneath my page view. However, when I click on the next link, the list refreshes with new values but the map doesn't render and displays "Javascript is required to view this map.".

Hmm.

roxy317’s picture

and your browser cache.

Roxy

milehighlife’s picture

Just wanted to post my solution to this.

I have three views (Default, Page (listing 15 nodes at a time, w/ajax pager), Gmap attachment (with corresponding markers to the Page listing).

I was able to get this to work eventually by ensuring that the exposed filters were identical in each of the Page and Gmap views.

Also, here are my Attachment settings (Gmap):

Inherit arguments: Yes
Inherit exposed filters: Yes
Inherit pager: Yes
Render pager: No
Position: After
Attach to: Page