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   1652 Views

Avatar
janulka

Community Member, 80 Posts

13 November 2008 at 4:57am

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

Community Member, 80 Posts

17 November 2008 at 1:50am

anybody plz?

Avatar
Ingo

Forum Moderator, 801 Posts

29 November 2008 at 9:22pm

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