Our client requested being able to see the metadata title (ftitle) in the file browser instead of the filename. This patch adds this features as a configurable option via the settings page. When activated, files that have an ftitle will display as their title, and files which do not have any metadata will display as their filename. Also, when activated, the "Rename File" option in the contextual menu is disabled because it causes confusion with the client as well as can lead to unexpected results.
Place this patch in your sites/all/modules folder (or wherever your webfm directory is located) and run
patch -p0 < webfm-ftitle.patch
--
B.McMurray
Comments
Comment #1
bmcmurray commentedOops, I forgot to include a variable pass-through into the WebFM Browser area in hook_form_alter for editing nodes; this new patch replaces my last in entirety and adds the fix hook_form_alter.
Apply it the same as above:
Place the patch in your sites/all/modules folder (or wherever your webfm directory is located) and run
via the command line.
--
B.McMurray
Comment #2
robmilne commentedThis patch is relative to 2.1 only. I didn't see this issue until after I tagged so you will have to rework the patch to work in 2.2 - sorry.
Comment #3
robmilne commentedCurrently in head - soon to be released.
Rename in context menu still available for files that have no ftitle.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.