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.

General Questions /

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

File add_extension onBeforeWrite


Reply


468 Views

Avatar
Phill

Community Member, 75 Posts

6 October 2011 at 1:46am

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?