MilenKo Posted October 25, 2018 Share Posted October 25, 2018 Hello all. Could someone refresh my memory or point me where to look for the parameters/options that can be used to input the content of an InputFieldFile field with some files uploaded from the admin? I know I could do: echo $page->field_name and that would show me the file name attached (if a single file is uploaded), however, I can't really remember how to show the file description or the name that is added under the file attachment? I've searched in google and this forum, as well as in the cheatsheet, however, am having bad luck finding the params... Link to comment Share on other sites More sharing options...
Soma Posted October 25, 2018 Share Posted October 25, 2018 Maybe this will help? http://cheatsheet.processwire.com/files/file-properties/ 2 Link to comment Share on other sites More sharing options...
MilenKo Posted October 25, 2018 Author Share Posted October 25, 2018 Hello @Soma I might be too sleepy today as I was there and looking at the file->parameter and would believe I've tried with the $file->description but anyway, thanks for pushing me to the right direction it all worked like a charm and the description was the one I've needed for now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now