Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Paginate albums in Image Gallery module


Go to End


4 Posts   2386 Views

Avatar
Ryan M.

Community Member, 309 Posts

8 November 2009 at 3:49pm

I need to implement pagination for the album list in the Image Gallery module. While there's an option to paginate the images, there's no option to paginate the albums in the album list.

Has somebody else already done this? If not, might I get a suggestion on where to begin?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

8 November 2009 at 4:33pm

It's been on my list for a while. I'll make a post when I add it in. If you need it right away, there are a lot of examples of pagination you can follow, including in the ImageGalleryPage class itself, in the GalleryItems() function.

Avatar
Ryan M.

Community Member, 309 Posts

8 November 2009 at 5:41pm

Thank you, I was looking for which function I should edit.

I'll post my code if I have any success. I'll probably make it an ajax-based page refresh.

I actually could use a SilverStripe developer if you are interested in contracting out your services.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 November 2009 at 5:56am

Yeah, a few of my work orders just wrapped up, so it's a good time. You can contact me through my website at http://www.carlinowebdesign.com and let me know what you're looking for. Thanks.