Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Renaming File/Image Name before save

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: 1252 Views
  • Terminator4
    Avatar
    Community Member
    81 Posts

    Renaming File/Image Name before save Link to this post

    Hi,
    I would like to know how it is possible to rename a file before it gets inserted. I would like to add a timestamp to the beginning of the filename. In addition, I would like the file to be saved in a custom folder under assets. This folder is to be named MonthYear (eg. 012010).

    Please assist if possible.

    Thank you

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