KFM file manager - can't select files in File Manager window
I have DataAssist pages set up to upload documents using the KFM File Manager. I can upload files OK but when I try to select a file in the File Manager window, the OK button doesn't do anything so I can't select any file. It works OK in my HTML Editor instances but not in the standalone version. Any idea what could be causing this? I've tried reuploading the kfm folder, recreating the insert & upload pages but still not working.
Just to let you know I solved the problem after finding a similar issue in another thread:
On the update and insert pages, the image tags for the file manager:
<div style="float:left;"><img src="../webassist/kfm/themes/webassist_v2/spacer.gif" id="htmleditor_image_SlideImg" align="top" /></div>
<img src="../webassist/kfm/themes/webassist_v2/icon_folder.png" width="20" height="18" id="htmleditor_browse_SlideImg" name="{dds:'../', startup_folder:'', show_sidebar:true, width:600, height:400}" style="vertical-align:bottom; padding-bottom:2px; visibility: hidden;" />
had the ID set wrong:
id="htmleditor_image_SlideImg"
id="htmleditor_browse_SlideImg"
the id needs to end in a number:
id="htmleditor_image_1"
id="htmleditor_browse_1"
Update the code to:
<div style="float:left;"><img src="../webassist/kfm/themes/webassist_v2/spacer.gif" id="htmleditor_image_1" align="top" /></div>
<img src="../webassist/kfm/themes/webassist_v2/icon_folder.png" width="20" height="18" id="htmleditor_browse_1" name="{dds:'../', startup_folder:'', show_sidebar:true, width:600, height:400}" style="vertical-align:bottom; padding-bottom:2px; visibility: hidden;" />
Not sure why they were wrong as this code is all auto-generated, but at least it's working now!