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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

SubClassing Folder

Go to End

2 Posts   969 Views


Community Member, 4 Posts

30 April 2010 at 9:11am


Im new to SilverStripe and quite satisfied with it. But the first thing I couldnt figure out is how to SubClass the Folder class.
I want to specify Metadata on a whole folder (e.g. Copyright info) which I could display with all files contained in the folder.
Therefore I successfuly created a class wich extends folder... and it is recognized when doing a /dev/build

But how can I use my new FolderType I just created?

Any help would be great!




Community Member, 4 Posts

8 May 2010 at 11:30am

Hmm Nobody?

Or the other way round: what would be the best way to implement an image gallery (organized in folders, or any other suitable container), where i can specify meta data (eg. copyright information, photographer, etc.) at the container level?