Jump to:

23545 Posts in 19310 Topics by 2888 members

General Questions

SilverStripe Forums » General Questions » Copy files on create specific folder

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 356 Views
  • dacar
    Avatar
    Community Member
    168 Posts

    Copy files on create specific folder Link to this post

    Hi, i am trying to copy some files on creating a new folder with the asset manager. But i am not sure where to start? I have registered Object::add_extension('AssetAdmin', 'AnlagenAssets'); in _config.php and tried to decorate theDO (class AnlagenAssets extends DataObjectDecorator).

    But how do i have to hack the addfolder() function and start an after write action? Hope anybody can help?

    Greetings, Carsten.

    356 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.