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.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Gallery module - include subdirectories?


Reply

3 Posts   1600 Views

Avatar
janulka

13 November 2008 at 4:57am Community Member, 80 Posts

Hey,

I want to use several galleries throughout the whole website, placed in several subfolders of one "Gallery" folder.

Then I would like to have one "Gallery" page where all the images are displayed.

How to get Gallery Module to read not only single directory, but also subdirectories of a given directory? It is important that client does not have to upload same images twice.

Anybody who has an awesome snippet I could place in GalleryPage.php? :) (I do not know any php)

thanks in advance!

Avatar
janulka

17 November 2008 at 1:50am Community Member, 80 Posts

anybody plz?

Avatar
Ingo

29 November 2008 at 9:22pm Forum Moderator, 801 Posts

Good idea, i've created an enhancement ticket: http://open.silverstripe.com/ticket/3170