• Hi

    I am trying to customise the filename which entrywizard uses to store files. Ideally I would like the filename to be the title that the user typed in the entry form.

    Hence I set Optional prefix: to [~Title]

    However this caused the title to be set to the literal text

    [~Title].jpg

    I read in the documentation that

    *Only user-uploaded data from an option list may be used.

    and indeed I verified this by creating a custom option list field and the filename was set to be the option value.

    Is there any way that I can have the filename set as the title that the user entered? Or indeed as the value of any non-option field?

    Many thanks

    Steve

    https://wordpress.org/plugins/entrywizard/

Viewing 1 replies (of 1 total)
  • Plugin Author Josie Stauffer

    (@joanne123)

    I’m afraid that isn’t possible right now.

    On Unix-type filesystems ( most websites are hosted on Unix/Linux ), filenames that contain spaces or punctuation require special handling, and are not normally used. Allowing them would make it much easier to introduce errors in the code.

    I appreciate that Windows users may be used to different rules, and I may eventually add a facility to download ( but not store on the server ) files with less restrictive names. But that would take quite a lot of time, and I’m pretty busy right now.

    If your aim is to have the titles display in a slideshow, you may want to try Flexishow (http://sourceforge.net/projects/flexishow/)

Viewing 1 replies (of 1 total)
  • The topic ‘Custom image filename using non-option list field’ is closed to new replies.