Jump to content

Paginating pseudo-pages


Gazley
 Share

Recommended Posts

Hi there,

Looking for advice around an approach to a requirement. I have the following existing page paths:

Gallery -> Category ---------- /gallery/ladies/

Albums -> AlbumName ----- /albums/jane/

/gallery/ladies/ will list as many album entries that are categorised as 'ladies'. The template supports pagination numbering.

The link to the 'jane' entry has been formed as follows: /gallery/ladies/jane/ - obviously, in addition to the template supporting pagination numbering, it also supports URL segments.

Here is where I need some advice. The album page 'jane' is only a single page but, it has an images collection that may have, say, 30 images. I want to turn jane's images into 'Pages', say, two images per page. Therefore, there are 15 "pseudo-pages".

However, PW pagination works against find()'s that return PageArrays whereas in my case, it won't actually find 15 physical pages.

The desired outcome would be:

/gallery/ladies/jane/

/gallery/ladies/jane/page2

/gallery/ladies/jane/page3

/gallery/ladies/jane/page4

...

Is this possible and if so, any suggestions how to approach this?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...