Hi,

Uploading a file using the admin generator, I can only see 2 ways to
name it:

- setting a string in generator.yml, but that's obviously not going to
work for more than one file
- the file name is an md5 + its extension


I have "remixed" the core slightly to just give me the file name but
that is not ideal.

I can see there is a call to getConstant(), so it looks for something
in the %% signs with a regular expression, but I haven't worked out
the rest.

What do I put after the "filename:" directive in generator.yml to get
the filename of the file I uploaded?


Many thanks in advance,

tom


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to