Jump to:

23550 Posts in 19336 Topics by 2890 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: 458 Views
  • Phill
    Community Member
    75 Posts

    File add_extension onBeforeWrite Link to this post


    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?

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.