Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » File add_extension onBeforeWrite

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: 381 Views
  • Phill
    Avatar
    Community Member
    75 Posts

    File add_extension onBeforeWrite Link to this post

    Hi

    Im trying to apply an on before write to File but it appears it does not get called when i upload a file, I've put some logger messages into both my extension and into File.php onBeforeWrite and it appears that neither of these methods get called.

    Has any any experience on doing something like this or what the cause could be?

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