Uploads Module - how to modify the filename? [solved]
Posted: Fri Mar 04, 2011 7:35 am
Is there a way with the uploads module that I can add a string to the filename once its uploaded? Wether or not if the feu uploads his or her file with its original name or decides to rename it, I just need away to add something in front of thier filename. For example if the file being uploaded is...
Then I need to have the smarty date or php date function in front of it...
I know how to build the date function in php and smarty. I just don't know which file to manupulate in order to make this all happen. Any suggestions will be great!
OR if it makes life easier, an aternative idea I had was to take the fake name that uploaders use for their file being uploaded and add it to the original filename rather than replacing it. Is this possible?
bh
bh
Code: Select all
cat.jpg
Code: Select all
20110304074901cat.jpg
OR if it makes life easier, an aternative idea I had was to take the fake name that uploaders use for their file being uploaded and add it to the original filename rather than replacing it. Is this possible?
bh
bh