⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Upload and rename



whole
  • profile picture
  • Member

Posted 15 May 2012 - 11:04 AM

Hi All,
i have some trouble on the upload functions.
As i studied from the documentation we can use some dedicated upload callbacks to manage the uploaded file(s)...rename/crop and so on without problems.

My trouble is on the time event of upload, sometimes we don't know the record id where this filed will, then if my target is to rename the file as example (user_id) on every insert / update / (upload) phase..

how i can manage that ?

And.. i noticed that upload tool work in separate way from the crud table manager, in fact if you try to :
a) Open new item add
B) upload something
c) close the page
---the file remain uploaded but no record created.

Someone know how possible to manage relation from the tabel filed to the uploaded file every time?

Sorry for my bad english, i hope that problem clarified well