Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » SubClassing Folder

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

Page: 1
Go to End
Author Topic: 723 Views
  • maxx
    Avatar
    Community Member
    4 Posts

    SubClassing Folder Link to this post

    Hola!

    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!

    Cheers

    Maxx

  • maxx
    Avatar
    Community Member
    4 Posts

    Re: SubClassing Folder Link to this post

    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?

    Thanks!

    Maxx

    723 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.