Jump to content

Recommended Posts

Posted

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!

Posted

https://www.google.c...paginate images - jeez, it's right at the top #1

I know when you're angry - you don't talk, just refer :(

I did look, I guess it's just the question you ask that matters. I'd figured out that the answer would probably be based around creating Page objects and that skewed my search terms.

Sorry.

Posted

Glad it's working out Gazley! See even without writing anything.

Must have been very complicated if you already got it wotking? ;)

Posted

>Must have been very complicated if you already got it wotking?

It was very, very complicated but made easy by excellent peer support ;)

Posted

Soma, you should think of changing your avatar, you're giving the wrong impression like this :D

  • Like 1

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
×
×
  • Create New...