Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique ID question #9

Closed
crecorn opened this issue Sep 17, 2016 · 3 comments
Closed

Unique ID question #9

crecorn opened this issue Sep 17, 2016 · 3 comments
Labels

Comments

@crecorn
Copy link

crecorn commented Sep 17, 2016

I'm not clear on how this works. Maybe I'm expecting it to work in the wrong way.

I have an order being placed with a PO number, I'd like to either amend the file name or create a unique folder for the image. Is this possible?

@Jako
Copy link
Owner

Jako commented Sep 17, 2016

Generating an unique name with own options is not possible with the AjaxUpload2Formit hook. All files are saved with an unique name per default (could be disabled by setting allowOverwrite to true).

Do rename the files, you could create and use an own hook after AjaxUpload2Formit.

@Jako Jako added the question label Sep 17, 2016
@Jako Jako closed this as completed Sep 17, 2016
@crecorn
Copy link
Author

crecorn commented Sep 17, 2016

The names of the files I upload are not changed to a unique name???

@Jako
Copy link
Owner

Jako commented Sep 17, 2016

Really? Are you able to debug that?

The renaming should happen here: https://github.com/Jako/AjaxUpload/blob/master/core/components/ajaxupload/model/ajaxupload/ajaxupload.class.php#L361-L368

weblate pushed a commit that referenced this issue Dec 28, 2023
====================================
- [#12] Fixed user "Extended fields" data loss on "secret reset"
- [#14] Fixed sending email to users during installation i8n issue
- [#13] Changed encryption cipher
- [#9][#11] Allow change of QR-code "issuer" value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants